#CB98DE#CB98DE

#CB98DE is a light, moderate purple. Relative luminance 0.404; OKLCH L 75.2% C 0.112 H 316.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#CB98DE
RGBrgb(203, 152, 222)
HSLhsl(284, 51%, 73%)
HSVhsv(284, 32%, 87%)
CMYKcmyk(8.6%, 31.5%, 0%, 12.9%)
CIE-LABlab(69.77, 31.31, -28.20)
CIE-LCHlch(69.77, 42.14, 317.99°)
OKLaboklab(75.18% 0.0816 -0.0771)
OKLCHoklch(75.18% 0.112 316.6)
XYZxyz(49.0397, 40.4279, 74.3131)
Luminance0.4043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB98DE #ABDE98
analogous
#A898DE #CB98DE #DE98CE
triadic
#CB98DE #DECB98 #98DECB
tetradic
#CB98DE #DEA898 #ABDE98 #98CEDE
square
#CB98DE #DEA898 #ABDE98 #98CEDE
split-complementary
#CB98DE #CEDE98 #98DEA8
monochromatic
#9B3DBF #B46ACF #CB98DE #E2C6ED #F3E8F8

Accessibility & contrast

On white

2.31
#CB98DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#CB98DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB98DE
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB98DE#FFFFFF#000000##000000
##CB98DE1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E1
Deuteranopia (green-blind)
#9AACDC
Tritanopia (blue-blind)
#CBA0B1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb98de;
/* rgb */ color: rgb(203, 152, 222);
/* oklch */ color: oklch(75.2% 0.112 316.6);
Tailwind
colors: {
  custom: {
    50: '#dbb7e8',
    500: '#cb98de',
    950: '#000000',
  },
}
SCSS
$custom: #cb98de;
$custom-light: #dbb7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb98de",
  "rgb": {
    "r": 203,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 283.714,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.11226,
    "h": 316.6
  },
  "luminance": 0.40427
}

Semantic roles & 50–950 ramp

primary
#CB98DE
secondary
#E1EFDC
accent
#BF2750
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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