#CB97DF#CB97DF

#CB97DF is a light, moderate purple. Relative luminance 0.402; OKLCH L 75.0% C 0.115 H 316.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#CB97DF
RGBrgb(203, 151, 223)
HSLhsl(283, 53%, 73%)
HSVhsv(283, 32%, 87%)
CMYKcmyk(9%, 32.3%, 0%, 12.5%)
CIE-LABlab(69.58, 32.06, -29.05)
CIE-LCHlch(69.58, 43.27, 317.82°)
OKLaboklab(75.05% 0.0833 -0.0795)
OKLCHoklch(75.05% 0.115 316.4)
XYZxyz(49.0125, 40.1585, 74.9672)
Luminance0.4016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97DF #ABDF97
analogous
#A797DF #CB97DF #DF97CF
triadic
#CB97DF #DFCB97 #97DFCB
tetradic
#CB97DF #DFA797 #ABDF97 #97CFDF
square
#CB97DF #DFA797 #ABDF97 #97CFDF
split-complementary
#CB97DF #CFDF97 #97DFA7
monochromatic
#9B3BC0 #B468D1 #CB97DF #E2C6ED #F3E8F8

Accessibility & contrast

On white

2.33
#CB97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#CB97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97DF
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97DF#FFFFFF#000000##000000
##CB97DF1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#99ACDD
Tritanopia (blue-blind)
#CBA0B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb97df;
/* rgb */ color: rgb(203, 151, 223);
/* oklch */ color: oklch(75.0% 0.115 316.4);
Tailwind
colors: {
  custom: {
    50: '#dbb6e9',
    500: '#cb97df',
    950: '#000000',
  },
}
SCSS
$custom: #cb97df;
$custom-light: #dbb6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97df",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 283.333,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7505,
    "c": 0.11516,
    "h": 316.4
  },
  "luminance": 0.40157
}

Semantic roles & 50–950 ramp

primary
#CB97DF
secondary
#E1EFDC
accent
#C02550
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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