#CF5CE7#CF5CE7

#CF5CE7 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.2% C 0.221 H 320.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CF5CE7
RGBrgb(207, 92, 231)
HSLhsl(290, 74%, 63%)
HSVhsv(290, 60%, 91%)
CMYKcmyk(10.4%, 60.2%, 0%, 9.4%)
CIE-LABlab(58.69, 64.81, -50.50)
CIE-LCHlch(58.69, 82.16, 322.07°)
OKLaboklab(67.16% 0.17 -0.1407)
OKLCHoklch(67.16% 0.221 320.4)
XYZxyz(43.9813, 26.6913, 78.4210)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CE7 #74E75C
analogous
#895CE7 #CF5CE7 #E75CBA
triadic
#CF5CE7 #E7CF5C #5CE7CF
tetradic
#CF5CE7 #E7895C #74E75C #5CBAE7
square
#CF5CE7 #E7895C #74E75C #5CBAE7
split-complementary
#CF5CE7 #BAE75C #5CE789
monochromatic
#951AAF #BF27DF #CF5CE7 #DF91EF #EEC7F7

Accessibility & contrast

On white

3.31
#CF5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CF5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CE7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CE7#FFFFFF#000000##000000
##CF5CE71.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#6891E3
Tritanopia (blue-blind)
#D07299
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cf5ce7;
/* rgb */ color: rgb(207, 92, 231);
/* oklch */ color: oklch(67.2% 0.221 320.4);
Tailwind
colors: {
  custom: {
    50: '#e190ef',
    500: '#cf5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ce7;
$custom-light: #e190ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ce7",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 289.64,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67155,
    "c": 0.22068,
    "h": 320.4
  },
  "luminance": 0.26689
}

Semantic roles & 50–950 ramp

primary
#CF5CE7
secondary
#BFE8B7
accent
#D60F31
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CF5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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