#CF8DFD#CF8DFD

#CF8DFD is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.2% C 0.168 H 310.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CF8DFD
RGBrgb(207, 141, 253)
HSLhsl(275, 97%, 77%)
HSVhsv(275, 44%, 99%)
CMYKcmyk(18.2%, 44.3%, 0%, 0.8%)
CIE-LABlab(69.05, 44.92, -46.29)
CIE-LCHlch(69.05, 64.51, 314.14°)
OKLaboklab(75.15% 0.1083 -0.1288)
OKLCHoklch(75.15% 0.168 310.1)
XYZxyz(52.9834, 39.4078, 97.7248)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DFD #BBFD8D
analogous
#978DFD #CF8DFD #FD8DF3
triadic
#CF8DFD #FDCF8D #8DFDCF
tetradic
#CF8DFD #FD978D #BBFD8D #8DF3FD
square
#CF8DFD #FD978D #BBFD8D #8DF3FD
split-complementary
#CF8DFD #F3FD8D #8DFD97
monochromatic
#9C15FB #B651FC #CF8DFD #E8C9FE #F2E1FE

Accessibility & contrast

On white

2.36
#CF8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#CF8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DFD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DFD#FFFFFF#000000##000000
##CF8DFD1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#CA9EB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8dfd;
/* rgb */ color: rgb(207, 141, 253);
/* oklch */ color: oklch(75.2% 0.168 310.1);
Tailwind
colors: {
  custom: {
    50: '#dfaffe',
    500: '#cf8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dfd;
$custom-light: #dfaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dfd",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 275.357,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75151,
    "c": 0.16826,
    "h": 310.1
  },
  "luminance": 0.39407
}

Semantic roles & 50–950 ramp

primary
#CF8DFD
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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