#CF9DFD#CF9DFD

#CF9DFD is a light, vivid violet. Relative luminance 0.445; OKLCH L 77.8% C 0.142 H 307.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CF9DFD
RGBrgb(207, 157, 253)
HSLhsl(271, 96%, 80%)
HSVhsv(271, 38%, 99%)
CMYKcmyk(18.2%, 37.9%, 0%, 0.8%)
CIE-LABlab(72.54, 36.30, -40.81)
CIE-LCHlch(72.54, 54.62, 311.65°)
OKLaboklab(77.78% 0.0862 -0.113)
OKLCHoklch(77.78% 0.142 307.3)
XYZxyz(55.5153, 44.4717, 98.5688)
Luminance0.4447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DFD #CBFD9D
analogous
#9F9DFD #CF9DFD #FD9DFB
triadic
#CF9DFD #FDCF9D #9DFDCF
tetradic
#CF9DFD #FD9F9D #CBFD9D #9DFBFD
square
#CF9DFD #FD9F9D #CBFD9D #9DFBFD
split-complementary
#CF9DFD #FBFD9D #9DFD9F
monochromatic
#9425FB #B261FC #CF9DFD #ECD9FE #F0E1FE

Accessibility & contrast

On white

2.12
#CF9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CF9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DFD
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DFD#FFFFFF#000000##000000
##CF9DFD1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#94B3FA
Tritanopia (blue-blind)
#C9ACC1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9dfd;
/* rgb */ color: rgb(207, 157, 253);
/* oklch */ color: oklch(77.8% 0.142 307.3);
Tailwind
colors: {
  custom: {
    50: '#dfbafe',
    500: '#cf9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cf9dfd;
$custom-light: #dfbafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9dfd",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 271.25,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77784,
    "c": 0.14215,
    "h": 307.3
  },
  "luminance": 0.44471
}

Semantic roles & 50–950 ramp

primary
#CF9DFD
secondary
#E5F7D4
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CF9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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