#CF7EEE#CF7EEE

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

Color values

HEX#CF7EEE
RGBrgb(207, 126, 238)
HSLhsl(283, 77%, 71%)
HSVhsv(283, 47%, 93%)
CMYKcmyk(13%, 47.1%, 0%, 6.7%)
CIE-LABlab(65.25, 49.68, -44.03)
CIE-LCHlch(65.25, 66.38, 318.45°)
OKLaboklab(72.09% 0.1267 -0.1222)
OKLCHoklch(72.09% 0.176 316)
XYZxyz(48.6233, 34.3616, 84.9434)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EEE #9DEE7E
analogous
#977EEE #CF7EEE #EE7ED5
triadic
#CF7EEE #EECF7E #7EEECF
tetradic
#CF7EEE #EE977E #9DEE7E #7ED5EE
square
#CF7EEE #EE977E #9DEE7E #7ED5EE
split-complementary
#CF7EEE #D5EE7E #7EEE97
monochromatic
#A21CD5 #BB48E7 #CF7EEE #E3B4F5 #F5E4FB

Accessibility & contrast

On white

2.67
#CF7EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CF7EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EEE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EEE#FFFFFF#000000##000000
##CF7EEE1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#7FA1EB
Tritanopia (blue-blind)
#CE8EAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7eee;
/* rgb */ color: rgb(207, 126, 238);
/* oklch */ color: oklch(72.1% 0.176 316.0);
Tailwind
colors: {
  custom: {
    50: '#e0a5f4',
    500: '#cf7eee',
    950: '#000000',
  },
}
SCSS
$custom: #cf7eee;
$custom-light: #e0a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7eee",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 283.393,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72092,
    "c": 0.17597,
    "h": 316
  },
  "luminance": 0.3436
}

Semantic roles & 50–950 ramp

primary
#CF7EEE
secondary
#DDF2D5
accent
#D90D45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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