#CF7EED#CF7EED

#CF7EED is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.0% C 0.175 H 316.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CF7EED
RGBrgb(207, 126, 237)
HSLhsl(284, 76%, 71%)
HSVhsv(284, 47%, 93%)
CMYKcmyk(12.7%, 46.8%, 0%, 7.1%)
CIE-LABlab(65.20, 49.48, -43.55)
CIE-LCHlch(65.20, 65.91, 318.64°)
OKLaboklab(72.04% 0.1265 -0.1208)
OKLCHoklch(72.04% 0.175 316.3)
XYZxyz(48.4768, 34.3030, 84.1719)
Luminance0.3430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EED #9CED7E
analogous
#977EED #CF7EED #ED7ED3
triadic
#CF7EED #EDCF7E #7EEDCF
tetradic
#CF7EED #ED977E #9CED7E #7ED3ED
square
#CF7EED #ED977E #9CED7E #7ED3ED
split-complementary
#CF7EED #D3ED7E #7EED97
monochromatic
#A21DD3 #BB48E6 #CF7EED #E3B4F4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.86
#CF7EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EED
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EED#FFFFFF#000000##000000
##CF7EED1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#CE8EAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7eed;
/* rgb */ color: rgb(207, 126, 237);
/* oklch */ color: oklch(72.0% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#e0a5f3',
    500: '#cf7eed',
    950: '#000000',
  },
}
SCSS
$custom: #cf7eed;
$custom-light: #e0a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7eed",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 283.784,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72043,
    "c": 0.17491,
    "h": 316.3
  },
  "luminance": 0.34302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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