#CF7FDD#CF7FDD

#CF7FDD is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.4% C 0.157 H 321.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CF7FDD
RGBrgb(207, 127, 221)
HSLhsl(291, 58%, 68%)
HSVhsv(291, 43%, 87%)
CMYKcmyk(6.3%, 42.5%, 0%, 13.3%)
CIE-LABlab(64.70, 45.79, -35.47)
CIE-LCHlch(64.70, 57.92, 322.23°)
OKLaboklab(71.43% 0.1225 -0.0975)
OKLCHoklch(71.43% 0.157 321.5)
XYZxyz(46.3711, 33.6663, 72.4482)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FDD #8DDD7F
analogous
#A07FDD #CF7FDD #DD7FBC
triadic
#CF7FDD #DDCF7F #7FDDCF
tetradic
#CF7FDD #DDA07F #8DDD7F #7FBCDD
square
#CF7FDD #DDA07F #8DDD7F #7FBCDD
split-complementary
#CF7FDD #BCDD7F #7FDDA0
monochromatic
#9F2FB2 #BD4FD0 #CF7FDD #E1AFEA #F3E0F7

Accessibility & contrast

On white

2.72
#CF7FDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#CF7FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FDD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FDD#FFFFFF#000000##000000
##CF7FDD1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397E0
Deuteranopia (green-blind)
#88A0DA
Tritanopia (blue-blind)
#D18AA4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7fdd;
/* rgb */ color: rgb(207, 127, 221);
/* oklch */ color: oklch(71.4% 0.157 321.5);
Tailwind
colors: {
  custom: {
    50: '#dfa6e8',
    500: '#cf7fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fdd;
$custom-light: #dfa6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fdd",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 291.064,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71433,
    "c": 0.15657,
    "h": 321.5
  },
  "luminance": 0.33665
}

Semantic roles & 50–950 ramp

primary
#CF7FDD
secondary
#D2EACE
accent
#C62039
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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