#CF7EE5#CF7EE5

#CF7EE5 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.167 H 318.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CF7EE5
RGBrgb(207, 126, 229)
HSLhsl(287, 66%, 70%)
HSVhsv(287, 45%, 90%)
CMYKcmyk(9.6%, 45%, 0%, 10.2%)
CIE-LABlab(64.84, 47.87, -39.69)
CIE-LCHlch(64.84, 62.19, 320.34°)
OKLaboklab(71.65% 0.1253 -0.1096)
OKLCHoklch(71.65% 0.167 318.8)
XYZxyz(47.3340, 33.8458, 78.1531)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EE5 #94E57E
analogous
#9B7EE5 #CF7EE5 #E57EC8
triadic
#CF7EE5 #E5CF7E #7EE5CF
tetradic
#CF7EE5 #E59B7E #94E57E #7EC8E5
square
#CF7EE5 #E59B7E #94E57E #7EC8E5
split-complementary
#CF7EE5 #C8E57E #7EE59B
monochromatic
#A127C2 #BC4BDB #CF7EE5 #E2B1EF #F5E4FA

Accessibility & contrast

On white

2.70
#CF7EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CF7EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EE5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EE5#FFFFFF#000000##000000
##CF7EE51.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98E9
Deuteranopia (green-blind)
#84A0E2
Tritanopia (blue-blind)
#CF8CA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7ee5;
/* rgb */ color: rgb(207, 126, 229);
/* oklch */ color: oklch(71.7% 0.167 318.8);
Tailwind
colors: {
  custom: {
    50: '#dfa5ed',
    500: '#cf7ee5',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ee5;
$custom-light: #dfa5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ee5",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 287.184,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71654,
    "c": 0.1665,
    "h": 318.8
  },
  "luminance": 0.33844
}

Semantic roles & 50–950 ramp

primary
#CF7EE5
secondary
#D7EED1
accent
#CE173E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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