#C754E7#C754E7

#C754E7 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.228 H 318.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C754E7
RGBrgb(199, 84, 231)
HSLhsl(287, 75%, 62%)
HSVhsv(287, 64%, 91%)
CMYKcmyk(13.9%, 63.6%, 0%, 9.4%)
CIE-LABlab(56.34, 66.42, -54.30)
CIE-LCHlch(56.34, 85.79, 320.73°)
OKLaboklab(65.23% 0.17 -0.152)
OKLCHoklch(65.23% 0.228 318.2)
XYZxyz(41.1453, 24.2540, 78.1000)
Luminance0.2425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754E7 #74E754
analogous
#7E54E7 #C754E7 #E754BE
triadic
#C754E7 #E7C754 #54E7C7
tetradic
#C754E7 #E77E54 #74E754 #54BEE7
square
#C754E7 #E77E54 #74E754 #54BEE7
split-complementary
#C754E7 #BEE754 #54E77E
monochromatic
#8918A9 #B51FDF #C754E7 #D98AEF #EABFF6

Accessibility & contrast

On white

3.59
#C754E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#C754E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754E7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754E7#FFFFFF#000000##000000
##C754E71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2380EB
Deuteranopia (green-blind)
#5B8BE3
Tritanopia (blue-blind)
#C66E96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c754e7;
/* rgb */ color: rgb(199, 84, 231);
/* oklch */ color: oklch(65.2% 0.228 318.2);
Tailwind
colors: {
  custom: {
    50: '#dc8bef',
    500: '#c754e7',
    950: '#000000',
  },
}
SCSS
$custom: #c754e7;
$custom-light: #dc8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#c754e7",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 286.939,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.22802,
    "h": 318.2
  },
  "luminance": 0.24252
}

Semantic roles & 50–950 ramp

primary
#C754E7
secondary
#BCE7B0
accent
#D80E3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D16
muted
#837D84

Preview Lab

Preview with #C754E7

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

Preview Lab → · Contrast checker → · Palette generator →

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