#CF5EF7#CF5EF7

#CF5EF7 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.3% C 0.233 H 316.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#CF5EF7
RGBrgb(207, 94, 247)
HSLhsl(284, 91%, 67%)
HSVhsv(284, 62%, 97%)
CMYKcmyk(16.2%, 61.9%, 0%, 3.1%)
CIE-LABlab(59.88, 66.98, -57.52)
CIE-LCHlch(59.88, 88.29, 319.35°)
OKLaboklab(68.3% 0.1679 -0.1612)
OKLCHoklch(68.3% 0.233 316.2)
XYZxyz(46.5208, 27.9879, 90.9293)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EF7 #86F75E
analogous
#835EF7 #CF5EF7 #F75ED2
triadic
#CF5EF7 #F7CF5E #5EF7CF
tetradic
#CF5EF7 #F7835E #86F75E #5ED2F7
square
#CF5EF7 #F7835E #86F75E #5ED2F7
split-complementary
#CF5EF7 #D2F75E #5EF783
monochromatic
#9D0AD0 #BE24F4 #CF5EF7 #E098FA #F2D3FD

Accessibility & contrast

On white

3.18
#CF5EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#CF5EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EF7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EF7#FFFFFF#000000##000000
##CF5EF71.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FC
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#CD79A2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cf5ef7;
/* rgb */ color: rgb(207, 94, 247);
/* oklch */ color: oklch(68.3% 0.233 316.2);
Tailwind
colors: {
  custom: {
    50: '#e192fa',
    500: '#cf5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ef7;
$custom-light: #e192fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ef7",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 284.314,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.68298,
    "c": 0.23274,
    "h": 316.2
  },
  "luminance": 0.27986
}

Semantic roles & 50–950 ramp

primary
#CF5EF7
secondary
#CDF1C0
accent
#E6003C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CF5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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