#CF7DEF#CF7DEF

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

Color values

HEX#CF7DEF
RGBrgb(207, 125, 239)
HSLhsl(283, 78%, 71%)
HSVhsv(283, 48%, 94%)
CMYKcmyk(13.4%, 47.7%, 0%, 6.3%)
CIE-LABlab(65.09, 50.40, -44.82)
CIE-LCHlch(65.09, 67.45, 318.35°)
OKLaboklab(71.99% 0.1282 -0.1244)
OKLCHoklch(71.99% 0.179 315.8)
XYZxyz(48.6434, 34.1660, 85.6769)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DEF #9DEF7D
analogous
#967DEF #CF7DEF #EF7DD6
triadic
#CF7DEF #EFCF7D #7DEFCF
tetradic
#CF7DEF #EF967D #9DEF7D #7DD6EF
square
#CF7DEF #EF967D #9DEF7D #7DD6EF
split-complementary
#CF7DEF #D6EF7D #7DEF96
monochromatic
#A21AD7 #BB47E8 #CF7DEF #E3B3F6 #F5E4FC

Accessibility & contrast

On white

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

On black

7.83
#CF7DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DEF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DEF#FFFFFF#000000##000000
##CF7DEF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#CD8EAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7def;
/* rgb */ color: rgb(207, 125, 239);
/* oklch */ color: oklch(72.0% 0.179 315.8);
Tailwind
colors: {
  custom: {
    50: '#e0a5f4',
    500: '#cf7def',
    950: '#000000',
  },
}
SCSS
$custom: #cf7def;
$custom-light: #e0a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7def",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 283.158,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71992,
    "c": 0.17865,
    "h": 315.8
  },
  "luminance": 0.34165
}

Semantic roles & 50–950 ramp

primary
#CF7DEF
secondary
#DDF3D5
accent
#DA0B45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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