#CB97F9#CB97F9

#CB97F9 is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.2% C 0.146 H 307.7°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CB97F9
RGBrgb(203, 151, 249)
HSLhsl(272, 89%, 78%)
HSVhsv(272, 39%, 98%)
CMYKcmyk(18.5%, 39.4%, 0%, 2.4%)
CIE-LABlab(70.64, 37.54, -41.64)
CIE-LCHlch(70.64, 56.06, 312.04°)
OKLaboklab(76.2% 0.0892 -0.1155)
OKLCHoklch(76.2% 0.146 307.7)
XYZxyz(52.7908, 41.6698, 94.8662)
Luminance0.4167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97F9 #C5F997
analogous
#9A97F9 #CB97F9 #F997F6
triadic
#CB97F9 #F9CB97 #97F9CB
tetradic
#CB97F9 #F99A97 #C5F997 #97F6F9
square
#CB97F9 #F99A97 #C5F997 #97F6F9
split-complementary
#CB97F9 #F6F997 #97F99A
monochromatic
#9123F2 #AE5DF6 #CB97F9 #E8D1FC #F1E2FD

Accessibility & contrast

On white

2.25
#CB97F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CB97F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97F9
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97F9#FFFFFF#000000##000000
##CB97F91.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFD
Deuteranopia (green-blind)
#8EADF6
Tritanopia (blue-blind)
#C5A6BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb97f9;
/* rgb */ color: rgb(203, 151, 249);
/* oklch */ color: oklch(76.2% 0.146 307.7);
Tailwind
colors: {
  custom: {
    50: '#dcb6fb',
    500: '#cb97f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb97f9;
$custom-light: #dcb6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97f9",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 271.837,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76202,
    "c": 0.14588,
    "h": 307.7
  },
  "luminance": 0.41669
}

Semantic roles & 50–950 ramp

primary
#CB97F9
secondary
#E5F5D6
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB97F9

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

Preview Lab → · Contrast checker → · Palette generator →

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