#CF8EFD#CF8EFD

#CF8EFD is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.3% C 0.167 H 309.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#CF8EFD
RGBrgb(207, 142, 253)
HSLhsl(275, 97%, 77%)
HSVhsv(275, 44%, 99%)
CMYKcmyk(18.2%, 43.9%, 0%, 0.8%)
CIE-LABlab(69.26, 44.39, -45.96)
CIE-LCHlch(69.26, 63.89, 314.01°)
OKLaboklab(75.31% 0.1069 -0.1278)
OKLCHoklch(75.31% 0.167 309.9)
XYZxyz(53.1315, 39.7040, 97.7741)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EFD #BCFD8E
analogous
#978EFD #CF8EFD #FD8EF4
triadic
#CF8EFD #FDCF8E #8EFDCF
tetradic
#CF8EFD #FD978E #BCFD8E #8EF4FD
square
#CF8EFD #FD978E #BCFD8E #8EF4FD
split-complementary
#CF8EFD #F4FD8E #8EFD97
monochromatic
#9C16FB #B552FC #CF8EFD #E9CAFE #F2E1FE

Accessibility & contrast

On white

2.35
#CF8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#CF8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EFD
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EFD#FFFFFF#000000##000000
##CF8EFD1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#C99FBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf8efd;
/* rgb */ color: rgb(207, 142, 253);
/* oklch */ color: oklch(75.3% 0.167 309.9);
Tailwind
colors: {
  custom: {
    50: '#dfb0fe',
    500: '#cf8efd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8efd;
$custom-light: #dfb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8efd",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 275.135,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75311,
    "c": 0.16665,
    "h": 309.9
  },
  "luminance": 0.39703
}

Semantic roles & 50–950 ramp

primary
#CF8EFD
secondary
#E3F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CF8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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