#CB98CB#CB98CB

#CB98CB is a light, moderate purple. Relative luminance 0.395; OKLCH L 74.4% C 0.091 H 326.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#CB98CB
RGBrgb(203, 152, 203)
HSLhsl(300, 33%, 70%)
HSVhsv(300, 25%, 80%)
CMYKcmyk(0%, 25.1%, 0%, 20.4%)
CIE-LABlab(69.09, 27.61, -18.75)
CIE-LCHlch(69.09, 33.37, 325.81°)
OKLaboklab(74.43% 0.0762 -0.0506)
OKLCHoklch(74.43% 0.091 326.4)
XYZxyz(46.6352, 39.4661, 61.6494)
Luminance0.3947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB98CB #98CB98
analogous
#B298CB #CB98CB #CB98B2
triadic
#CB98CB #CBCB98 #98CBCB
tetradic
#CB98CB #CBB298 #98CB98 #98B2CB
square
#CB98CB #CBB298 #98CB98 #98B2CB
split-complementary
#CB98CB #B2CB98 #98CBB2
monochromatic
#9B4E9B #B66FB6 #CB98CB #E0C1E0 #F4E9F4

Accessibility & contrast

On white

2.36
#CB98CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#CB98CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB98CB
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB98CB#FFFFFF#000000##000000
##CB98CB1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95A5CD
Deuteranopia (green-blind)
#A0ABC9
Tritanopia (blue-blind)
#CE9CAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb98cb;
/* rgb */ color: rgb(203, 152, 203);
/* oklch */ color: oklch(74.4% 0.091 326.4);
Tailwind
colors: {
  custom: {
    50: '#dbb6db',
    500: '#cb98cb',
    950: '#000000',
  },
}
SCSS
$custom: #cb98cb;
$custom-light: #dbb6db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb98cb",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 32.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74433,
    "c": 0.09149,
    "h": 326.4
  },
  "luminance": 0.39465
}

Semantic roles & 50–950 ramp

primary
#CB98CB
secondary
#D8E7D8
accent
#AC3A3A
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #CB98CB

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

Preview Lab → · Contrast checker → · Palette generator →

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