#CF9BFB#CF9BFB

#CF9BFB is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.4% C 0.143 H 308.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CF9BFB
RGBrgb(207, 155, 251)
HSLhsl(273, 92%, 80%)
HSVhsv(273, 38%, 98%)
CMYKcmyk(17.5%, 38.2%, 0%, 1.6%)
CIE-LABlab(72.01, 36.96, -40.56)
CIE-LCHlch(72.01, 54.87, 312.34°)
OKLaboklab(77.35% 0.0886 -0.1123)
OKLCHoklch(77.35% 0.143 308.3)
XYZxyz(54.8628, 43.6737, 96.7877)
Luminance0.4367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BFB #C7FB9B
analogous
#9F9BFB #CF9BFB #FB9BF7
triadic
#CF9BFB #FBCF9B #9BFBCF
tetradic
#CF9BFB #FB9F9B #C7FB9B #9BF7FB
square
#CF9BFB #FB9F9B #C7FB9B #9BF7FB
split-complementary
#CF9BFB #F7FB9B #9BFB9F
monochromatic
#9725F6 #B360F9 #CF9BFB #EBD6FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.73
#CF9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BFB
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BFB#FFFFFF#000000##000000
##CF9BFB1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#C9A9BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9bfb;
/* rgb */ color: rgb(207, 155, 251);
/* oklch */ color: oklch(77.4% 0.143 308.3);
Tailwind
colors: {
  custom: {
    50: '#dfb9fd',
    500: '#cf9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bfb;
$custom-light: #dfb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bfb",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 272.5,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77353,
    "c": 0.14303,
    "h": 308.3
  },
  "luminance": 0.43673
}

Semantic roles & 50–950 ramp

primary
#CF9BFB
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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