#CF7EEF#CF7EEF

#CF7EEF is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.177 H 315.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CF7EEF
RGBrgb(207, 126, 239)
HSLhsl(283, 78%, 72%)
HSVhsv(283, 47%, 94%)
CMYKcmyk(13.4%, 47.3%, 0%, 6.3%)
CIE-LABlab(65.30, 49.88, -44.51)
CIE-LCHlch(65.30, 66.85, 318.26°)
OKLaboklab(72.14% 0.1268 -0.1235)
OKLCHoklch(72.14% 0.177 315.7)
XYZxyz(48.7706, 34.4205, 85.7193)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EEF #9EEF7E
analogous
#977EEF #CF7EEF #EF7ED7
triadic
#CF7EEF #EFCF7E #7EEFCF
tetradic
#CF7EEF #EF977E #9EEF7E #7ED7EF
square
#CF7EEF #EF977E #9EEF7E #7ED7EF
split-complementary
#CF7EEF #D7EF7E #7EEF97
monochromatic
#A21BD8 #BB48E8 #CF7EEF #E3B4F6 #F5E4FC

Accessibility & contrast

On white

2.66
#CF7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CF7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EEF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EEF#FFFFFF#000000##000000
##CF7EEF1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#CD8FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7eef;
/* rgb */ color: rgb(207, 126, 239);
/* oklch */ color: oklch(72.1% 0.177 315.7);
Tailwind
colors: {
  custom: {
    50: '#e0a5f4',
    500: '#cf7eef',
    950: '#000000',
  },
}
SCSS
$custom: #cf7eef;
$custom-light: #e0a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7eef",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 283.009,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72142,
    "c": 0.17703,
    "h": 315.7
  },
  "luminance": 0.34419
}

Semantic roles & 50–950 ramp

primary
#CF7EEF
secondary
#DEF3D6
accent
#DA0B46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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