#CF9BF9#CF9BF9

#CF9BF9 is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.3% C 0.141 H 308.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CF9BF9
RGBrgb(207, 155, 249)
HSLhsl(273, 89%, 79%)
HSVhsv(273, 38%, 98%)
CMYKcmyk(16.9%, 37.8%, 0%, 2.4%)
CIE-LABlab(71.93, 36.53, -39.61)
CIE-LCHlch(71.93, 53.88, 312.68°)
OKLaboklab(77.26% 0.0882 -0.1096)
OKLCHoklch(77.26% 0.141 308.8)
XYZxyz(54.5492, 43.5483, 95.1361)
Luminance0.4355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BF9 #C5F99B
analogous
#A09BF9 #CF9BF9 #F99BF4
triadic
#CF9BF9 #F9CF9B #9BF9CF
tetradic
#CF9BF9 #F9A09B #C5F99B #9BF4F9
square
#CF9BF9 #F9A09B #C5F99B #9BF4F9
split-complementary
#CF9BF9 #F4F99B #9BF9A0
monochromatic
#9828F2 #B361F6 #CF9BF9 #EBD5FC #F1E2FD

Accessibility & contrast

On white

2.16
#CF9BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CF9BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BF9
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BF9#FFFFFF#000000##000000
##CF9BF91.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFD
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#CAA9BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9bf9;
/* rgb */ color: rgb(207, 155, 249);
/* oklch */ color: oklch(77.3% 0.141 308.8);
Tailwind
colors: {
  custom: {
    50: '#dfb9fb',
    500: '#cf9bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bf9;
$custom-light: #dfb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bf9",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 249
  },
  "hsl": {
    "h": 273.191,
    "s": 88.679,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77262,
    "c": 0.14063,
    "h": 308.8
  },
  "luminance": 0.43548
}

Semantic roles & 50–950 ramp

primary
#CF9BF9
secondary
#E4F5D6
accent
#E50067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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