#CF8DFB#CF8DFB

#CF8DFB is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.1% C 0.166 H 310.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#CF8DFB
RGBrgb(207, 141, 251)
HSLhsl(276, 93%, 77%)
HSVhsv(276, 44%, 98%)
CMYKcmyk(17.5%, 43.8%, 0%, 1.6%)
CIE-LABlab(68.95, 44.50, -45.34)
CIE-LCHlch(68.95, 63.53, 314.46°)
OKLaboklab(75.05% 0.108 -0.126)
OKLCHoklch(75.05% 0.166 310.6)
XYZxyz(52.6664, 39.2810, 96.0556)
Luminance0.3928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DFB #B9FB8D
analogous
#988DFB #CF8DFB #FB8DF0
triadic
#CF8DFB #FBCF8D #8DFBCF
tetradic
#CF8DFB #FB988D #B9FB8D #8DF0FB
square
#CF8DFB #FB988D #B9FB8D #8DF0FB
split-complementary
#CF8DFB #F0FB8D #8DFB98
monochromatic
#9D17F7 #B652F9 #CF8DFB #E8C8FD #F3E1FE

Accessibility & contrast

On white

2.37
#CF8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#CF8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DFB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DFB#FFFFFF#000000##000000
##CF8DFB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#CA9EB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8dfb;
/* rgb */ color: rgb(207, 141, 251);
/* oklch */ color: oklch(75.1% 0.166 310.6);
Tailwind
colors: {
  custom: {
    50: '#dfaffd',
    500: '#cf8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dfb;
$custom-light: #dfaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dfb",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 276,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.16597,
    "h": 310.6
  },
  "luminance": 0.3928
}

Semantic roles & 50–950 ramp

primary
#CF8DFB
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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