#CF8BF5#CF8BF5

#CF8BF5 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.4% C 0.162 H 312.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#CF8BF5
RGBrgb(207, 139, 245)
HSLhsl(278, 84%, 75%)
HSVhsv(278, 43%, 96%)
CMYKcmyk(15.5%, 43.3%, 0%, 3.9%)
CIE-LABlab(68.26, 44.29, -43.15)
CIE-LCHlch(68.26, 61.84, 315.74°)
OKLaboklab(74.44% 0.1098 -0.1197)
OKLCHoklch(74.44% 0.162 312.5)
XYZxyz(51.4434, 38.3242, 91.0558)
Luminance0.3832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BF5 #B1F58B
analogous
#9A8BF5 #CF8BF5 #F58BE6
triadic
#CF8BF5 #F5CF8B #8BF5CF
tetradic
#CF8BF5 #F59A8B #B1F58B #8BE6F5
square
#CF8BF5 #F59A8B #B1F58B #8BE6F5
split-complementary
#CF8BF5 #E6F58B #8BF59A
monochromatic
#A01AEB #B853F0 #CF8BF5 #E6C3FA #F3E3FD

Accessibility & contrast

On white

2.42
#CF8BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#CF8BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BF5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BF5#FFFFFF#000000##000000
##CF8BF51.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A3F9
Deuteranopia (green-blind)
#87A8F2
Tritanopia (blue-blind)
#CB9BB4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8bf5;
/* rgb */ color: rgb(207, 139, 245);
/* oklch */ color: oklch(74.4% 0.162 312.5);
Tailwind
colors: {
  custom: {
    50: '#dfaef9',
    500: '#cf8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bf5;
$custom-light: #dfaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bf5",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 278.491,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74444,
    "c": 0.16243,
    "h": 312.5
  },
  "luminance": 0.38323
}

Semantic roles & 50–950 ramp

primary
#CF8BF5
secondary
#E1F5D6
accent
#E10554
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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