#CF7FDB#CF7FDB

#CF7FDB is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.3% C 0.155 H 322.2°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CF7FDB
RGBrgb(207, 127, 219)
HSLhsl(292, 56%, 68%)
HSVhsv(292, 42%, 86%)
CMYKcmyk(5.5%, 42%, 0%, 14.1%)
CIE-LABlab(64.61, 45.40, -34.49)
CIE-LCHlch(64.61, 57.01, 322.78°)
OKLaboklab(71.34% 0.1221 -0.0947)
OKLCHoklch(71.34% 0.155 322.2)
XYZxyz(46.1063, 33.5604, 71.0532)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FDB #8BDB7F
analogous
#A17FDB #CF7FDB #DB7FB9
triadic
#CF7FDB #DBCF7F #7FDBCF
tetradic
#CF7FDB #DBA17F #8BDB7F #7FB9DB
square
#CF7FDB #DBA17F #8BDB7F #7FB9DB
split-complementary
#CF7FDB #B9DB7F #7FDBA1
monochromatic
#9E31AF #BD4FCE #CF7FDB #E1AFE8 #F3DFF6

Accessibility & contrast

On white

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

On black

7.71
#CF7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FDB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FDB#FFFFFF#000000##000000
##CF7FDB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DE
Deuteranopia (green-blind)
#89A0D8
Tritanopia (blue-blind)
#D18AA3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7fdb;
/* rgb */ color: rgb(207, 127, 219);
/* oklch */ color: oklch(71.3% 0.155 322.2);
Tailwind
colors: {
  custom: {
    50: '#dfa6e6',
    500: '#cf7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fdb;
$custom-light: #dfa6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fdb",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 292.174,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71342,
    "c": 0.15453,
    "h": 322.2
  },
  "luminance": 0.33559
}

Semantic roles & 50–950 ramp

primary
#CF7FDB
secondary
#D0E9CD
accent
#C42237
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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