#CF7EE4#CF7EE4

#CF7EE4 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.165 H 319.1°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CF7EE4
RGBrgb(207, 126, 228)
HSLhsl(288, 65%, 69%)
HSVhsv(288, 45%, 89%)
CMYKcmyk(9.2%, 44.7%, 0%, 10.6%)
CIE-LABlab(64.80, 47.68, -39.21)
CIE-LCHlch(64.80, 61.73, 320.57°)
OKLaboklab(71.61% 0.1251 -0.1082)
OKLCHoklch(71.61% 0.165 319.1)
XYZxyz(47.1947, 33.7902, 77.4198)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EE4 #93E47E
analogous
#9C7EE4 #CF7EE4 #E47EC6
triadic
#CF7EE4 #E4CF7E #7EE4CF
tetradic
#CF7EE4 #E49C7E #93E47E #7EC6E4
square
#CF7EE4 #E49C7E #93E47E #7EC6E4
split-complementary
#CF7EE4 #C6E47E #7EE49C
monochromatic
#A028C0 #BC4BD9 #CF7EE4 #E2B1EF #F5E3F9

Accessibility & contrast

On white

2.71
#CF7EE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CF7EE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EE4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EE4#FFFFFF#000000##000000
##CF7EE41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E98E8
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#D08BA6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7ee4;
/* rgb */ color: rgb(207, 126, 228);
/* oklch */ color: oklch(71.6% 0.165 319.1);
Tailwind
colors: {
  custom: {
    50: '#dfa5ed',
    500: '#cf7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ee4;
$custom-light: #dfa5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ee4",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 287.647,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71607,
    "c": 0.16546,
    "h": 319.1
  },
  "luminance": 0.33789
}

Semantic roles & 50–950 ramp

primary
#CF7EE4
secondary
#D6EED0
accent
#CD183E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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