#CF7EDD#CF7EDD

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

Color values

HEX#CF7EDD
RGBrgb(207, 126, 221)
HSLhsl(291, 58%, 68%)
HSVhsv(291, 43%, 87%)
CMYKcmyk(6.3%, 43%, 0%, 13.3%)
CIE-LABlab(64.49, 46.31, -35.79)
CIE-LCHlch(64.49, 58.53, 322.30°)
OKLaboklab(71.28% 0.1239 -0.0984)
OKLCHoklch(71.28% 0.158 321.5)
XYZxyz(46.2426, 33.4093, 72.4054)
Luminance0.3341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EDD #8CDD7E
analogous
#9F7EDD #CF7EDD #DD7EBB
triadic
#CF7EDD #DDCF7E #7EDDCF
tetradic
#CF7EDD #DD9F7E #8CDD7E #7EBBDD
square
#CF7EDD #DD9F7E #8CDD7E #7EBBDD
split-complementary
#CF7EDD #BBDD7E #7EDD9F
monochromatic
#9E2FB2 #BD4ED0 #CF7EDD #E1AEEA #F3DFF7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7EDD#FFFFFF#000000##000000
##CF7EDD1.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)
#7197E0
Deuteranopia (green-blind)
#87A0DA
Tritanopia (blue-blind)
#D189A3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7edd;
/* rgb */ color: rgb(207, 126, 221);
/* oklch */ color: oklch(71.3% 0.158 321.5);
Tailwind
colors: {
  custom: {
    50: '#dfa5e8',
    500: '#cf7edd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7edd;
$custom-light: #dfa5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7edd",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 291.158,
    "s": 58.282,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71279,
    "c": 0.15825,
    "h": 321.5
  },
  "luminance": 0.33408
}

Semantic roles & 50–950 ramp

primary
#CF7EDD
secondary
#D1EACD
accent
#C62038
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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