#CF7EEB#CF7EEB

#CF7EEB is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.173 H 316.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#CF7EEB
RGBrgb(207, 126, 235)
HSLhsl(285, 73%, 71%)
HSVhsv(285, 46%, 92%)
CMYKcmyk(11.9%, 46.4%, 0%, 7.8%)
CIE-LABlab(65.11, 49.07, -42.59)
CIE-LCHlch(65.11, 64.98, 319.05°)
OKLaboklab(71.94% 0.1262 -0.118)
OKLCHoklch(71.94% 0.173 316.9)
XYZxyz(48.1862, 34.1867, 82.6415)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EEB #9AEB7E
analogous
#987EEB #CF7EEB #EB7ED0
triadic
#CF7EEB #EBCF7E #7EEBCF
tetradic
#CF7EEB #EB987E #9AEB7E #7ED0EB
square
#CF7EEB #EB987E #9AEB7E #7ED0EB
split-complementary
#CF7EEB #D0EB7E #7EEB98
monochromatic
#A220CF #BB49E3 #CF7EEB #E3B3F3 #F5E5FB

Accessibility & contrast

On white

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

On black

7.84
#CF7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EEB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EEB#FFFFFF#000000##000000
##CF7EEB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#CE8DAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7eeb;
/* rgb */ color: rgb(207, 126, 235);
/* oklch */ color: oklch(71.9% 0.173 316.9);
Tailwind
colors: {
  custom: {
    50: '#dfa5f2',
    500: '#cf7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7eeb;
$custom-light: #dfa5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7eeb",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 284.587,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71944,
    "c": 0.1728,
    "h": 316.9
  },
  "luminance": 0.34185
}

Semantic roles & 50–950 ramp

primary
#CF7EEB
secondary
#DBF1D4
accent
#D51043
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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