#CB98CA#CB98CA

#CB98CA is a light, moderate purple. Relative luminance 0.394; OKLCH L 74.4% C 0.090 H 327.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#CB98CA
RGBrgb(203, 152, 202)
HSLhsl(301, 33%, 70%)
HSVhsv(301, 25%, 80%)
CMYKcmyk(0%, 25.1%, 0.5%, 20.4%)
CIE-LABlab(69.05, 27.42, -18.25)
CIE-LCHlch(69.05, 32.94, 326.35°)
OKLaboklab(74.4% 0.0759 -0.0492)
OKLCHoklch(74.4% 0.09 327.1)
XYZxyz(46.5164, 39.4186, 61.0239)
Luminance0.3942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB98CA #98CB99
analogous
#B298CB #CB98CA #CB98B1
triadic
#CB98CA #CACB98 #98CACB
tetradic
#CB98CA #CBB298 #98CB99 #98B1CB
square
#CB98CA #CBB298 #98CB99 #98B1CB
split-complementary
#CB98CA #B1CB98 #98CBB2
monochromatic
#9B4E99 #B66FB5 #CB98CA #E0C1DF #F4E9F4

Accessibility & contrast

On white

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

On black

8.88
#CB98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB98CA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB98CA#FFFFFF#000000##000000
##CB98CA1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb98ca;
/* rgb */ color: rgb(203, 152, 202);
/* oklch */ color: oklch(74.4% 0.090 327.1);
Tailwind
colors: {
  custom: {
    50: '#dbb6da',
    500: '#cb98ca',
    950: '#000000',
  },
}
SCSS
$custom: #cb98ca;
$custom-light: #dbb6da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb98ca",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 301.176,
    "s": 32.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74395,
    "c": 0.09047,
    "h": 327.1
  },
  "luminance": 0.39417
}

Semantic roles & 50–950 ramp

primary
#CB98CA
secondary
#D8E7D8
accent
#AC3C3A
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #CB98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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