#CF7DE2#CF7DE2

#CF7DE2 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.165 H 319.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CF7DE2
RGBrgb(207, 125, 226)
HSLhsl(289, 64%, 69%)
HSVhsv(289, 45%, 89%)
CMYKcmyk(8.4%, 44.7%, 0%, 11.4%)
CIE-LABlab(64.50, 47.80, -38.55)
CIE-LCHlch(64.50, 61.41, 321.11°)
OKLaboklab(71.36% 0.1262 -0.1063)
OKLCHoklch(71.36% 0.165 319.9)
XYZxyz(46.7915, 33.4253, 75.9237)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DE2 #90E27D
analogous
#9D7DE2 #CF7DE2 #E27DC3
triadic
#CF7DE2 #E2CF7D #7DE2CF
tetradic
#CF7DE2 #E29D7D #90E27D #7DC3E2
square
#CF7DE2 #E29D7D #90E27D #7DC3E2
split-complementary
#CF7DE2 #C3E27D #7DE29D
monochromatic
#A02ABB #BD4BD7 #CF7DE2 #E1AFED #F4E1F8

Accessibility & contrast

On white

2.73
#CF7DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CF7DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DE2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DE2#FFFFFF#000000##000000
##CF7DE21.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#849FDF
Tritanopia (blue-blind)
#D08AA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7de2;
/* rgb */ color: rgb(207, 125, 226);
/* oklch */ color: oklch(71.4% 0.165 319.9);
Tailwind
colors: {
  custom: {
    50: '#dfa5eb',
    500: '#cf7de2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7de2;
$custom-light: #dfa5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7de2",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 288.713,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7136,
    "c": 0.16504,
    "h": 319.9
  },
  "luminance": 0.33424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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