#CF7FDF#CF7FDF

#CF7FDF is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.5% C 0.159 H 320.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CF7FDF
RGBrgb(207, 127, 223)
HSLhsl(290, 60%, 69%)
HSVhsv(290, 43%, 87%)
CMYKcmyk(7.2%, 43%, 0%, 12.5%)
CIE-LABlab(64.78, 46.17, -36.45)
CIE-LCHlch(64.78, 58.83, 321.71°)
OKLaboklab(71.53% 0.1229 -0.1003)
OKLCHoklch(71.53% 0.159 320.8)
XYZxyz(46.6392, 33.7735, 73.8599)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FDF #8FDF7F
analogous
#9F7FDF #CF7FDF #DF7FBF
triadic
#CF7FDF #DFCF7F #7FDFCF
tetradic
#CF7FDF #DF9F7F #8FDF7F #7FBFDF
square
#CF7FDF #DF9F7F #8FDF7F #7FBFDF
split-complementary
#CF7FDF #BFDF7F #7FDF9F
monochromatic
#9F2EB6 #BD4ED3 #CF7FDF #E1B0EB #F4E1F7

Accessibility & contrast

On white

2.71
#CF7FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CF7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FDF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FDF#FFFFFF#000000##000000
##CF7FDF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf7fdf;
/* rgb */ color: rgb(207, 127, 223);
/* oklch */ color: oklch(71.5% 0.159 320.8);
Tailwind
colors: {
  custom: {
    50: '#dfa6e9',
    500: '#cf7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fdf;
$custom-light: #dfa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fdf",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 290,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71525,
    "c": 0.15861,
    "h": 320.8
  },
  "luminance": 0.33772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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