#C754E8#C754E8

#C754E8 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.3% C 0.229 H 317.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C754E8
RGBrgb(199, 84, 232)
HSLhsl(287, 76%, 62%)
HSVhsv(287, 64%, 91%)
CMYKcmyk(14.2%, 63.8%, 0%, 9%)
CIE-LABlab(56.40, 66.61, -54.78)
CIE-LCHlch(56.40, 86.24, 320.57°)
OKLaboklab(65.29% 0.17 -0.1534)
OKLCHoklch(65.29% 0.229 317.9)
XYZxyz(41.2870, 24.3107, 78.8459)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754E8 #75E854
analogous
#7D54E8 #C754E8 #E854BF
triadic
#C754E8 #E8C754 #54E8C7
tetradic
#C754E8 #E87D54 #75E854 #54BFE8
square
#C754E8 #E87D54 #75E854 #54BFE8
split-complementary
#C754E8 #BFE854 #54E87D
monochromatic
#8A17AB #B51EE1 #C754E8 #D98AEF #EAC0F7

Accessibility & contrast

On white

3.58
#C754E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C754E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754E8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754E8#FFFFFF#000000##000000
##C754E81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2180EC
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#C66E97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c754e8;
/* rgb */ color: rgb(199, 84, 232);
/* oklch */ color: oklch(65.3% 0.229 317.9);
Tailwind
colors: {
  custom: {
    50: '#dc8bf0',
    500: '#c754e8',
    950: '#000000',
  },
}
SCSS
$custom: #c754e8;
$custom-light: #dc8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#c754e8",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 286.622,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65291,
    "c": 0.22893,
    "h": 317.9
  },
  "luminance": 0.24309
}

Semantic roles & 50–950 ramp

primary
#C754E8
secondary
#BDE7B1
accent
#D80D3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C754E8

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

Preview Lab → · Contrast checker → · Palette generator →

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