#CF7EE6#CF7EE6

#CF7EE6 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.168 H 318.5°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#CF7EE6
RGBrgb(207, 126, 230)
HSLhsl(287, 68%, 70%)
HSVhsv(287, 45%, 90%)
CMYKcmyk(10%, 45.2%, 0%, 9.8%)
CIE-LABlab(64.88, 48.07, -40.18)
CIE-LCHlch(64.88, 62.65, 320.11°)
OKLaboklab(71.7% 0.1255 -0.111)
OKLCHoklch(71.7% 0.168 318.5)
XYZxyz(47.4740, 33.9019, 78.8905)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EE6 #95E67E
analogous
#9B7EE6 #CF7EE6 #E67EC9
triadic
#CF7EE6 #E6CF7E #7EE6CF
tetradic
#CF7EE6 #E69B7E #95E67E #7EC9E6
square
#CF7EE6 #E69B7E #95E67E #7EC9E6
split-complementary
#CF7EE6 #C9E67E #7EE69B
monochromatic
#A126C4 #BC4BDC #CF7EE6 #E2B1F0 #F5E5FA

Accessibility & contrast

On white

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

On black

7.78
#CF7EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EE6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EE6#FFFFFF#000000##000000
##CF7EE61.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98EA
Deuteranopia (green-blind)
#83A0E3
Tritanopia (blue-blind)
#CF8CA7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7ee6;
/* rgb */ color: rgb(207, 126, 230);
/* oklch */ color: oklch(71.7% 0.168 318.5);
Tailwind
colors: {
  custom: {
    50: '#dfa5ee',
    500: '#cf7ee6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ee6;
$custom-light: #dfa5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ee6",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 286.731,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71702,
    "c": 0.16754,
    "h": 318.5
  },
  "luminance": 0.339
}

Semantic roles & 50–950 ramp

primary
#CF7EE6
secondary
#D8EFD1
accent
#CF163F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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