#CF7EE2#CF7EE2

#CF7EE2 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.163 H 319.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CF7EE2
RGBrgb(207, 126, 226)
HSLhsl(289, 63%, 69%)
HSVhsv(289, 44%, 89%)
CMYKcmyk(8.4%, 44.2%, 0%, 11.4%)
CIE-LABlab(64.71, 47.28, -38.23)
CIE-LCHlch(64.71, 60.81, 321.04°)
OKLaboklab(71.51% 0.1248 -0.1054)
OKLCHoklch(71.51% 0.163 319.8)
XYZxyz(46.9187, 33.6797, 75.9661)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EE2 #91E27E
analogous
#9D7EE2 #CF7EE2 #E27EC3
triadic
#CF7EE2 #E2CF7E #7EE2CF
tetradic
#CF7EE2 #E29D7E #91E27E #7EC3E2
square
#CF7EE2 #E29D7E #91E27E #7EC3E2
split-complementary
#CF7EE2 #C3E27E #7EE29D
monochromatic
#A02ABB #BC4CD7 #CF7EE2 #E2B0ED #F4E2F8

Accessibility & contrast

On white

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

On black

7.74
#CF7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EE2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EE2#FFFFFF#000000##000000
##CF7EE21.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#85A0DF
Tritanopia (blue-blind)
#D08BA5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7ee2;
/* rgb */ color: rgb(207, 126, 226);
/* oklch */ color: oklch(71.5% 0.163 319.8);
Tailwind
colors: {
  custom: {
    50: '#dfa5eb',
    500: '#cf7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ee2;
$custom-light: #dfa5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ee2",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 288.6,
    "s": 63.291,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71512,
    "c": 0.16339,
    "h": 319.8
  },
  "luminance": 0.33678
}

Semantic roles & 50–950 ramp

primary
#CF7EE2
secondary
#D5EDCF
accent
#CB1A3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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