#CF5CF7#CF5CF7

#CF5CF7 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.1% C 0.235 H 316.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#CF5CF7
RGBrgb(207, 92, 247)
HSLhsl(285, 91%, 66%)
HSVhsv(285, 63%, 97%)
CMYKcmyk(16.2%, 62.8%, 0%, 3.1%)
CIE-LABlab(59.56, 67.86, -58.03)
CIE-LCHlch(59.56, 89.28, 319.47°)
OKLaboklab(68.07% 0.1701 -0.1627)
OKLCHoklch(68.07% 0.235 316.3)
XYZxyz(46.3452, 27.6368, 90.8708)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5CF7 #84F75C
analogous
#825CF7 #CF5CF7 #F75CD2
triadic
#CF5CF7 #F7CF5C #5CF7CF
tetradic
#CF5CF7 #F7825C #84F75C #5CD2F7
square
#CF5CF7 #F7825C #84F75C #5CD2F7
split-complementary
#CF5CF7 #D2F75C #5CF782
monochromatic
#9C0ACE #BE22F4 #CF5CF7 #E096FA #F1D1FD

Accessibility & contrast

On white

3.22
#CF5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#CF5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5CF7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5CF7#FFFFFF#000000##000000
##CF5CF71.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2388FC
Deuteranopia (green-blind)
#5D93F3
Tritanopia (blue-blind)
#CD78A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cf5cf7;
/* rgb */ color: rgb(207, 92, 247);
/* oklch */ color: oklch(68.1% 0.235 316.3);
Tailwind
colors: {
  custom: {
    50: '#e191fa',
    500: '#cf5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5cf7;
$custom-light: #e191fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5cf7",
  "rgb": {
    "r": 207,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 284.516,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68067,
    "c": 0.23539,
    "h": 316.3
  },
  "luminance": 0.27635
}

Semantic roles & 50–950 ramp

primary
#CF5CF7
secondary
#CBF1BE
accent
#E6003B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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