#CF8EF8#CF8EF8

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

Color values

HEX#CF8EF8
RGBrgb(207, 142, 248)
HSLhsl(277, 88%, 76%)
HSVhsv(277, 43%, 97%)
CMYKcmyk(16.5%, 42.7%, 0%, 2.7%)
CIE-LABlab(69.03, 43.32, -43.58)
CIE-LCHlch(69.03, 61.45, 314.83°)
OKLaboklab(75.07% 0.1061 -0.1209)
OKLCHoklch(75.07% 0.161 311.3)
XYZxyz(52.3454, 39.3896, 93.6342)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EF8 #B7F88E
analogous
#9A8EF8 #CF8EF8 #F88EEC
triadic
#CF8EF8 #F8CF8E #8EF8CF
tetradic
#CF8EF8 #F89A8E #B7F88E #8EECF8
square
#CF8EF8 #F89A8E #B7F88E #8EECF8
split-complementary
#CF8EF8 #ECF88E #8EF89A
monochromatic
#9E1BF1 #B754F4 #CF8EF8 #E7C8FC #F3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF8EF8#FFFFFF#000000##000000
##CF8EF81.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#CB9EB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8ef8;
/* rgb */ color: rgb(207, 142, 248);
/* oklch */ color: oklch(75.1% 0.161 311.3);
Tailwind
colors: {
  custom: {
    50: '#dfb0fb',
    500: '#cf8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ef8;
$custom-light: #dfb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ef8",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 276.792,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75068,
    "c": 0.16091,
    "h": 311.3
  },
  "luminance": 0.39389
}

Semantic roles & 50–950 ramp

primary
#CF8EF8
secondary
#E2F5D6
accent
#E50159
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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