#C54BED

A color in the Purple, Crimson, Magenta family

#c54bed is a color in the Purple, Crimson, Magenta family: RGB(197, 75, 237), HSL(285°, 82%, 61%), CMYK(17%, 68%, 0%, 7%). Closest named color: mediumorchid. Contrast is 3.75:1 on white and 5.6:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#c54bed
RGBrgb(197 75 237)
RGB (legacy)rgb(197, 75, 237)
RGB %rgb(77% 29% 93%)
HSLhsl(285 82% 61%)
HSV / HSBhsv(285, 68%, 93%)
HWBhwb(285 29% 7%)
CMYKcmyk(17%, 68%, 0%, 7%)
CIELAB (D50)lab(54.66 65.75 -59.94)
LCHlch(54.66 88.97 317.65)
OKLaboklab(0.6439 0.177 -0.1677)
OKLCHoklch(0.6439 0.2439 316.54)
Decimal12930029

Properties

Color TonePurple, Crimson, Magenta
Closest named colormediumorchid ΔE 4.6
Closest web-safe color#cc33ff
Hue285°
Saturation (HSL / HSV)82% / 68%
Lightness (HSL)61%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)51% / 44%
Relative luminance (WCAG)0.2302
Red / Green / Blue197 / 75 / 237

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.75:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.60:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 64.1 / -37.6 · As background with white / black text: Lc -69.6 / 40

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c54bed;
  --color-brand-oklch: oklch(64.39% 0.2439 316.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(197 75 237 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c54bed] text-[#c54bed] border-[#c54bed]">