#CF8EF5#CF8EF5

#CF8EF5 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.9% C 0.157 H 312.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CF8EF5
RGBrgb(207, 142, 245)
HSLhsl(278, 84%, 76%)
HSVhsv(278, 42%, 96%)
CMYKcmyk(15.5%, 42%, 0%, 3.9%)
CIE-LABlab(68.90, 42.69, -42.15)
CIE-LCHlch(68.90, 59.99, 315.36°)
OKLaboklab(74.92% 0.1056 -0.1168)
OKLCHoklch(74.92% 0.157 312.1)
XYZxyz(51.8837, 39.2049, 91.2026)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EF5 #B4F58E
analogous
#9B8EF5 #CF8EF5 #F58EE7
triadic
#CF8EF5 #F5CF8E #8EF5CF
tetradic
#CF8EF5 #F59B8E #B4F58E #8EE7F5
square
#CF8EF5 #F59B8E #B4F58E #8EE7F5
split-complementary
#CF8EF5 #E7F58E #8EF59B
monochromatic
#9F1EEB #B756F0 #CF8EF5 #E7C6FA #F3E3FD

Accessibility & contrast

On white

2.38
#CF8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#CF8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EF5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EF5#FFFFFF#000000##000000
##CF8EF51.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5F9
Deuteranopia (green-blind)
#8AAAF2
Tritanopia (blue-blind)
#CB9DB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cf8ef5;
/* rgb */ color: rgb(207, 142, 245);
/* oklch */ color: oklch(74.9% 0.157 312.1);
Tailwind
colors: {
  custom: {
    50: '#dfb0f9',
    500: '#cf8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ef5;
$custom-light: #dfb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ef5",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 277.864,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74924,
    "c": 0.15749,
    "h": 312.1
  },
  "luminance": 0.39204
}

Semantic roles & 50–950 ramp

primary
#CF8EF5
secondary
#E2F4D7
accent
#E00556
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CF8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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