#CF7EDF#CF7EDF

#CF7EDF is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.4% C 0.160 H 320.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CF7EDF
RGBrgb(207, 126, 223)
HSLhsl(290, 60%, 68%)
HSVhsv(290, 43%, 87%)
CMYKcmyk(7.2%, 43.5%, 0%, 12.5%)
CIE-LABlab(64.58, 46.70, -36.77)
CIE-LCHlch(64.58, 59.44, 321.78°)
OKLaboklab(71.37% 0.1243 -0.1012)
OKLCHoklch(71.37% 0.16 320.8)
XYZxyz(46.5107, 33.5165, 73.8171)
Luminance0.3352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EDF #8EDF7E
analogous
#9E7EDF #CF7EDF #DF7EBE
triadic
#CF7EDF #DFCF7E #7EDFCF
tetradic
#CF7EDF #DF9E7E #8EDF7E #7EBEDF
square
#CF7EDF #DF9E7E #8EDF7E #7EBEDF
split-complementary
#CF7EDF #BEDF7E #7EDF9E
monochromatic
#9F2DB6 #BD4DD3 #CF7EDF #E1AFEB #F3E0F7

Accessibility & contrast

On white

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

On black

7.70
#CF7EDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EDF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EDF#FFFFFF#000000##000000
##CF7EDF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#D18AA4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7edf;
/* rgb */ color: rgb(207, 126, 223);
/* oklch */ color: oklch(71.4% 0.160 320.8);
Tailwind
colors: {
  custom: {
    50: '#dfa5e9',
    500: '#cf7edf',
    950: '#000000',
  },
}
SCSS
$custom: #cf7edf;
$custom-light: #dfa5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7edf",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 290.103,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71372,
    "c": 0.16029,
    "h": 320.8
  },
  "luminance": 0.33515
}

Semantic roles & 50–950 ramp

primary
#CF7EDF
secondary
#D3EBCE
accent
#C81E3A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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