#CB98E2#CB98E2

#CB98E2 is a light, moderate purple. Relative luminance 0.406; OKLCH L 75.3% C 0.117 H 315.0°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#CB98E2
RGBrgb(203, 152, 226)
HSLhsl(281, 56%, 74%)
HSVhsv(281, 33%, 89%)
CMYKcmyk(10.2%, 32.7%, 0%, 11.4%)
CIE-LABlab(69.93, 32.13, -30.17)
CIE-LCHlch(69.93, 44.07, 316.80°)
OKLaboklab(75.35% 0.0826 -0.0826)
OKLCHoklch(75.35% 0.117 315)
XYZxyz(49.5822, 40.6449, 77.1701)
Luminance0.4064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB98E2 #AFE298
analogous
#A698E2 #CB98E2 #E298D4
triadic
#CB98E2 #E2CB98 #98E2CB
tetradic
#CB98E2 #E2A698 #AFE298 #98D4E2
square
#CB98E2 #E2A698 #AFE298 #98D4E2
split-complementary
#CB98E2 #D4E298 #98E2A6
monochromatic
#9B38C7 #B368D5 #CB98E2 #E3C8EF #F3E7F8

Accessibility & contrast

On white

2.30
#CB98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#CB98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB98E2
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB98E2#FFFFFF#000000##000000
##CB98E21.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA8E5
Deuteranopia (green-blind)
#98ACE0
Tritanopia (blue-blind)
#CAA1B3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb98e2;
/* rgb */ color: rgb(203, 152, 226);
/* oklch */ color: oklch(75.3% 0.117 315.0);
Tailwind
colors: {
  custom: {
    50: '#dbb7eb',
    500: '#cb98e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb98e2;
$custom-light: #dbb7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb98e2",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 281.351,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75349,
    "c": 0.11687,
    "h": 315
  },
  "luminance": 0.40644
}

Semantic roles & 50–950 ramp

primary
#CB98E2
secondary
#E2F0DB
accent
#C42254
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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