#CB98DB#CB98DB

#CB98DB is a light, moderate purple. Relative luminance 0.403; OKLCH L 75.1% C 0.109 H 317.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#CB98DB
RGBrgb(203, 152, 219)
HSLhsl(286, 48%, 73%)
HSVhsv(286, 31%, 86%)
CMYKcmyk(7.3%, 30.6%, 0%, 14.1%)
CIE-LABlab(69.66, 30.71, -26.73)
CIE-LCHlch(69.66, 40.71, 318.97°)
OKLaboklab(75.06% 0.0808 -0.0729)
OKLCHoklch(75.06% 0.109 317.9)
XYZxyz(48.6412, 40.2685, 72.2144)
Luminance0.4027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB98DB #A8DB98
analogous
#AA98DB #CB98DB #DB98C9
triadic
#CB98DB #DBCB98 #98DBCB
tetradic
#CB98DB #DBAA98 #A8DB98 #98C9DB
square
#CB98DB #DBAA98 #A8DB98 #98C9DB
split-complementary
#CB98DB #C9DB98 #98DBAA
monochromatic
#9C40B8 #B46BCB #CB98DB #E2C5EB #F4E8F7

Accessibility & contrast

On white

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

On black

9.05
#CB98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB98DB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB98DB#FFFFFF#000000##000000
##CB98DB1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DE
Deuteranopia (green-blind)
#9BACD9
Tritanopia (blue-blind)
#CBA0B0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb98db;
/* rgb */ color: rgb(203, 152, 219);
/* oklch */ color: oklch(75.1% 0.109 317.9);
Tailwind
colors: {
  custom: {
    50: '#dbb7e6',
    500: '#cb98db',
    950: '#000000',
  },
}
SCSS
$custom: #cb98db;
$custom-light: #dbb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb98db",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 285.672,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75059,
    "c": 0.10884,
    "h": 317.9
  },
  "luminance": 0.40267
}

Semantic roles & 50–950 ramp

primary
#CB98DB
secondary
#E1EEDD
accent
#BB2A4D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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