#CF7DEB#CF7DEB

#CF7DEB is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.8% C 0.174 H 317.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#CF7DEB
RGBrgb(207, 125, 235)
HSLhsl(285, 73%, 71%)
HSVhsv(285, 47%, 92%)
CMYKcmyk(11.9%, 46.8%, 0%, 7.8%)
CIE-LABlab(64.91, 49.59, -42.91)
CIE-LCHlch(64.91, 65.58, 319.13°)
OKLaboklab(71.79% 0.1276 -0.1189)
OKLCHoklch(71.79% 0.174 317)
XYZxyz(48.0590, 33.9323, 82.5991)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DEB #99EB7D
analogous
#987DEB #CF7DEB #EB7DD0
triadic
#CF7DEB #EBCF7D #7DEBCF
tetradic
#CF7DEB #EB987D #99EB7D #7DD0EB
square
#CF7DEB #EB987D #99EB7D #7DD0EB
split-complementary
#CF7DEB #D0EB7D #7DEB98
monochromatic
#A220CE #BB48E3 #CF7DEB #E3B2F3 #F5E4FB

Accessibility & contrast

On white

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

On black

7.79
#CF7DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DEB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DEB#FFFFFF#000000##000000
##CF7DEB1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#CE8DA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7deb;
/* rgb */ color: rgb(207, 125, 235);
/* oklch */ color: oklch(71.8% 0.174 317.0);
Tailwind
colors: {
  custom: {
    50: '#e0a5f2',
    500: '#cf7deb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7deb;
$custom-light: #e0a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7deb",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 284.727,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71794,
    "c": 0.17442,
    "h": 317
  },
  "luminance": 0.33931
}

Semantic roles & 50–950 ramp

primary
#CF7DEB
secondary
#DBF1D3
accent
#D51042
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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