#CF8DFE#CF8DFE

#CF8DFE is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.2% C 0.169 H 309.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CF8DFE
RGBrgb(207, 141, 254)
HSLhsl(275, 98%, 77%)
HSVhsv(275, 44%, 100%)
CMYKcmyk(18.5%, 44.5%, 0%, 0.4%)
CIE-LABlab(69.09, 45.14, -46.76)
CIE-LCHlch(69.09, 64.99, 313.99°)
OKLaboklab(75.2% 0.1085 -0.1301)
OKLCHoklch(75.2% 0.169 309.8)
XYZxyz(53.1431, 39.4717, 98.5659)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DFE #BCFE8D
analogous
#968DFE #CF8DFE #FE8DF5
triadic
#CF8DFE #FECF8D #8DFECF
tetradic
#CF8DFE #FE968D #BCFE8D #8DF5FE
square
#CF8DFE #FE968D #BCFE8D #8DF5FE
split-complementary
#CF8DFE #F5FE8D #8DFE96
monochromatic
#9C14FD #B550FD #CF8DFE #E9CAFF #F2E1FF

Accessibility & contrast

On white

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

On black

8.89
#CF8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DFE
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DFE#FFFFFF#000000##000000
##CF8DFE1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#84AAFB
Tritanopia (blue-blind)
#C99FBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8dfe;
/* rgb */ color: rgb(207, 141, 254);
/* oklch */ color: oklch(75.2% 0.169 309.8);
Tailwind
colors: {
  custom: {
    50: '#dfafff',
    500: '#cf8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dfe;
$custom-light: #dfafff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dfe",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 275.044,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75201,
    "c": 0.1694,
    "h": 309.8
  },
  "luminance": 0.39471
}

Semantic roles & 50–950 ramp

primary
#CF8DFE
secondary
#E3F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CF8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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