#CF7EEC#CF7EEC

#CF7EEC is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.0% C 0.174 H 316.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CF7EEC
RGBrgb(207, 126, 236)
HSLhsl(284, 74%, 71%)
HSVhsv(284, 47%, 93%)
CMYKcmyk(12.3%, 46.6%, 0%, 7.5%)
CIE-LABlab(65.16, 49.27, -43.07)
CIE-LCHlch(65.16, 65.44, 318.84°)
OKLaboklab(71.99% 0.1264 -0.1194)
OKLCHoklch(71.99% 0.174 316.6)
XYZxyz(48.3311, 34.2447, 83.4046)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EEC #9BEC7E
analogous
#987EEC #CF7EEC #EC7ED2
triadic
#CF7EEC #ECCF7E #7EECCF
tetradic
#CF7EEC #EC987E #9BEC7E #7ED2EC
square
#CF7EEC #EC987E #9BEC7E #7ED2EC
split-complementary
#CF7EEC #D2EC7E #7EEC98
monochromatic
#A21FD1 #BB49E4 #CF7EEC #E3B3F4 #F5E4FB

Accessibility & contrast

On white

2.68
#CF7EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CF7EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EEC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EEC#FFFFFF#000000##000000
##CF7EEC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#80A1E9
Tritanopia (blue-blind)
#CE8EAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7eec;
/* rgb */ color: rgb(207, 126, 236);
/* oklch */ color: oklch(72.0% 0.174 316.6);
Tailwind
colors: {
  custom: {
    50: '#dfa5f2',
    500: '#cf7eec',
    950: '#000000',
  },
}
SCSS
$custom: #cf7eec;
$custom-light: #dfa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7eec",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 284.182,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71993,
    "c": 0.17385,
    "h": 316.6
  },
  "luminance": 0.34243
}

Semantic roles & 50–950 ramp

primary
#CF7EEC
secondary
#DCF2D4
accent
#D60F44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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