#CB97E2#CB97E2

#CB97E2 is a light, moderate purple. Relative luminance 0.403; OKLCH L 75.2% C 0.119 H 315.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#CB97E2
RGBrgb(203, 151, 226)
HSLhsl(282, 56%, 74%)
HSVhsv(282, 33%, 89%)
CMYKcmyk(10.2%, 33.2%, 0%, 11.4%)
CIE-LABlab(69.70, 32.67, -30.52)
CIE-LCHlch(69.70, 44.71, 316.95°)
OKLaboklab(75.18% 0.0841 -0.0836)
OKLCHoklch(75.18% 0.119 315.2)
XYZxyz(49.4206, 40.3217, 77.1162)
Luminance0.4032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB97E2 #AEE297
analogous
#A697E2 #CB97E2 #E297D4
triadic
#CB97E2 #E2CB97 #97E2CB
tetradic
#CB97E2 #E2A697 #AEE297 #97D4E2
square
#CB97E2 #E2A697 #AEE297 #97D4E2
split-complementary
#CB97E2 #D4E297 #97E2A6
monochromatic
#9B38C7 #B367D5 #CB97E2 #E3C7EF #F3E7F8

Accessibility & contrast

On white

2.32
#CB97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#CB97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB97E2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB97E2#FFFFFF#000000##000000
##CB97E21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA7E5
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#CAA0B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb97e2;
/* rgb */ color: rgb(203, 151, 226);
/* oklch */ color: oklch(75.2% 0.119 315.2);
Tailwind
colors: {
  custom: {
    50: '#dbb6eb',
    500: '#cb97e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb97e2;
$custom-light: #dbb6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb97e2",
  "rgb": {
    "r": 203,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 281.6,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75176,
    "c": 0.1186,
    "h": 315.2
  },
  "luminance": 0.40321
}

Semantic roles & 50–950 ramp

primary
#CB97E2
secondary
#E2F0DB
accent
#C42253
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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