#CF7DEC#CF7DEC

#CF7DEC is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.175 H 316.7°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CF7DEC
RGBrgb(207, 125, 236)
HSLhsl(284, 74%, 71%)
HSVhsv(284, 47%, 93%)
CMYKcmyk(12.3%, 47%, 0%, 7.5%)
CIE-LABlab(64.95, 49.79, -43.39)
CIE-LCHlch(64.95, 66.04, 318.93°)
OKLaboklab(71.84% 0.1278 -0.1203)
OKLCHoklch(71.84% 0.175 316.7)
XYZxyz(48.2039, 33.9902, 83.3621)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DEC #9AEC7D
analogous
#977DEC #CF7DEC #EC7DD2
triadic
#CF7DEC #ECCF7D #7DECCF
tetradic
#CF7DEC #EC977D #9AEC7D #7DD2EC
square
#CF7DEC #EC977D #9AEC7D #7DD2EC
split-complementary
#CF7DEC #D2EC7D #7DEC97
monochromatic
#A21ED0 #BB48E4 #CF7DEC #E3B2F4 #F5E4FB

Accessibility & contrast

On white

2.69
#CF7DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CF7DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DEC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DEC#FFFFFF#000000##000000
##CF7DEC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#CE8DAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7dec;
/* rgb */ color: rgb(207, 125, 236);
/* oklch */ color: oklch(71.8% 0.175 316.7);
Tailwind
colors: {
  custom: {
    50: '#e0a5f2',
    500: '#cf7dec',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dec;
$custom-light: #e0a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dec",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 284.324,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71843,
    "c": 0.17548,
    "h": 316.7
  },
  "luminance": 0.33989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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