#CB97FF#CB97FF

#CB97FF is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.5% C 0.153 H 306.1°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CB97FF
RGBrgb(203, 151, 255)
HSLhsl(270, 100%, 80%)
HSVhsv(270, 41%, 100%)
CMYKcmyk(20.4%, 40.8%, 0%, 0%)
CIE-LABlab(70.91, 38.86, -44.49)
CIE-LCHlch(70.91, 59.07, 311.14°)
OKLaboklab(76.49% 0.0903 -0.1237)
OKLCHoklch(76.49% 0.153 306.1)
XYZxyz(53.7416, 42.0501, 99.8737)
Luminance0.4205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97FF #CBFF97
analogous
#9797FF #CB97FF #FF97FF
triadic
#CB97FF #FFCB97 #97FFCB
tetradic
#CB97FF #FF9797 #CBFF97 #97FFFF
square
#CB97FF #FF9797 #CBFF97 #97FFFF
split-complementary
#CB97FF #FFFF97 #97FF97
monochromatic
#8E1DFF #AC5AFF #CB97FF #EAD4FF #F0E0FF

Accessibility & contrast

On white

2.23
#CB97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CB97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97FF
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97FF#FFFFFF#000000##000000
##CB97FF1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#8BAEFC
Tritanopia (blue-blind)
#C3A7BF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb97ff;
/* rgb */ color: rgb(203, 151, 255);
/* oklch */ color: oklch(76.5% 0.153 306.1);
Tailwind
colors: {
  custom: {
    50: '#dcb6ff',
    500: '#cb97ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb97ff;
$custom-light: #dcb6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97ff",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76486,
    "c": 0.15313,
    "h": 306.1
  },
  "luminance": 0.4205
}

Semantic roles & 50–950 ramp

primary
#CB97FF
secondary
#E6F7D4
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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