#CF8AF9#CF8AF9

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

Color values

HEX#CF8AF9
RGBrgb(207, 138, 249)
HSLhsl(277, 90%, 76%)
HSVhsv(277, 45%, 98%)
CMYKcmyk(16.9%, 44.6%, 0%, 2.4%)
CIE-LABlab(68.23, 45.67, -45.39)
CIE-LCHlch(68.23, 64.39, 315.17°)
OKLaboklab(74.48% 0.1118 -0.1262)
OKLCHoklch(74.48% 0.169 311.5)
XYZxyz(51.9165, 38.2829, 94.2586)
Luminance0.3828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8AF9 #B4F98A
analogous
#978AF9 #CF8AF9 #F98AEC
triadic
#CF8AF9 #F9CF8A #8AF9CF
tetradic
#CF8AF9 #F9978A #B4F98A #8AECF9
square
#CF8AF9 #F9978A #B4F98A #8AECF9
split-complementary
#CF8AF9 #ECF98A #8AF997
monochromatic
#9F16F3 #B750F6 #CF8AF9 #E7C4FC #F3E2FE

Accessibility & contrast

On white

2.43
#CF8AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF8AF9#FFFFFF#000000##000000
##CF8AF91.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#CB9BB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8af9;
/* rgb */ color: rgb(207, 138, 249);
/* oklch */ color: oklch(74.5% 0.169 311.5);
Tailwind
colors: {
  custom: {
    50: '#dfadfb',
    500: '#cf8af9',
    950: '#000000',
  },
}
SCSS
$custom: #cf8af9;
$custom-light: #dfadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8af9",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 277.297,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7448,
    "c": 0.16856,
    "h": 311.5
  },
  "luminance": 0.38282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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