#CF8BF9#CF8BF9

#CF8BF9 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.167 H 311.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CF8BF9
RGBrgb(207, 139, 249)
HSLhsl(277, 90%, 76%)
HSVhsv(277, 44%, 98%)
CMYKcmyk(16.9%, 44.2%, 0%, 2.4%)
CIE-LABlab(68.44, 45.13, -45.06)
CIE-LCHlch(68.44, 63.78, 315.05°)
OKLaboklab(74.64% 0.1104 -0.1252)
OKLCHoklch(74.64% 0.167 311.4)
XYZxyz(52.0606, 38.5711, 94.3066)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BF9 #B5F98B
analogous
#988BF9 #CF8BF9 #F98BEC
triadic
#CF8BF9 #F9CF8B #8BF9CF
tetradic
#CF8BF9 #F9988B #B5F98B #8BECF9
square
#CF8BF9 #F9988B #B5F98B #8BECF9
split-complementary
#CF8BF9 #ECF98B #8BF998
monochromatic
#9F17F3 #B751F6 #CF8BF9 #E7C5FC #F3E2FD

Accessibility & contrast

On white

2.41
#CF8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CF8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BF9
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BF9#FFFFFF#000000##000000
##CF8BF91.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#CB9CB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8bf9;
/* rgb */ color: rgb(207, 139, 249);
/* oklch */ color: oklch(74.6% 0.167 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfaefb',
    500: '#cf8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bf9;
$custom-light: #dfaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bf9",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 277.091,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74638,
    "c": 0.16694,
    "h": 311.4
  },
  "luminance": 0.3857
}

Semantic roles & 50–950 ramp

primary
#CF8BF9
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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