#C754E2#C754E2

#C754E2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.223 H 319.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C754E2
RGBrgb(199, 84, 226)
HSLhsl(289, 71%, 61%)
HSVhsv(289, 63%, 89%)
CMYKcmyk(11.9%, 62.8%, 0%, 11.4%)
CIE-LABlab(56.06, 65.47, -51.94)
CIE-LCHlch(56.06, 83.57, 321.58°)
OKLaboklab(64.94% 0.17 -0.1451)
OKLCHoklch(64.94% 0.223 319.5)
XYZxyz(40.4492, 23.9756, 74.4339)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754E2 #6FE254
analogous
#8054E2 #C754E2 #E254B6
triadic
#C754E2 #E2C754 #54E2C7
tetradic
#C754E2 #E28054 #6FE254 #54B6E2
square
#C754E2 #E28054 #6FE254 #54B6E2
split-complementary
#C754E2 #B6E254 #54E280
monochromatic
#871BA0 #B324D5 #C754E2 #D888EB #E9BDF4

Accessibility & contrast

On white

3.62
#C754E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C754E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754E2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754E2#FFFFFF#000000##000000
##C754E21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7FE6
Deuteranopia (green-blind)
#5E8ADE
Tritanopia (blue-blind)
#C76C94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c754e2;
/* rgb */ color: rgb(199, 84, 226);
/* oklch */ color: oklch(64.9% 0.223 319.5);
Tailwind
colors: {
  custom: {
    50: '#db8bec',
    500: '#c754e2',
    950: '#000000',
  },
}
SCSS
$custom: #c754e2;
$custom-light: #db8bec;
$custom-dark: #000000;
JSON
{
  "hex": "#c754e2",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 288.592,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64942,
    "c": 0.22348,
    "h": 319.5
  },
  "luminance": 0.23974
}

Semantic roles & 50–950 ramp

primary
#C754E2
secondary
#B8E4AE
accent
#D31237
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C754E2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C754E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva