#CB93DD#CB93DD

#CB93DD is a light, moderate purple. Relative luminance 0.388; OKLCH L 74.3% C 0.120 H 317.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CB93DD
RGBrgb(203, 147, 221)
HSLhsl(285, 52%, 72%)
HSVhsv(285, 33%, 87%)
CMYKcmyk(8.1%, 33.5%, 0%, 13.3%)
CIE-LABlab(68.60, 33.84, -29.47)
CIE-LCHlch(68.60, 44.87, 318.96°)
OKLaboklab(74.28% 0.0887 -0.0806)
OKLCHoklch(74.28% 0.12 317.7)
XYZxyz(48.1116, 38.7856, 73.3445)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB93DD #A5DD93
analogous
#A693DD #CB93DD #DD93CA
triadic
#CB93DD #DDCB93 #93DDCB
tetradic
#CB93DD #DDA693 #A5DD93 #93CADD
square
#CB93DD #DDA693 #A5DD93 #93CADD
split-complementary
#CB93DD #CADD93 #93DDA6
monochromatic
#9C3BBB #B564CE #CB93DD #E1C2EC #F4E8F8

Accessibility & contrast

On white

2.40
#CB93DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CB93DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB93DD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB93DD#FFFFFF#000000##000000
##CB93DD1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A4E0
Deuteranopia (green-blind)
#96A9DB
Tritanopia (blue-blind)
#CB9CAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb93dd;
/* rgb */ color: rgb(203, 147, 221);
/* oklch */ color: oklch(74.3% 0.120 317.7);
Tailwind
colors: {
  custom: {
    50: '#dcb3e7',
    500: '#cb93dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb93dd;
$custom-light: #dcb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb93dd",
  "rgb": {
    "r": 203,
    "g": 147,
    "b": 221
  },
  "hsl": {
    "h": 285.405,
    "s": 52.113,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74275,
    "c": 0.11988,
    "h": 317.7
  },
  "luminance": 0.38784
}

Semantic roles & 50–950 ramp

primary
#CB93DD
secondary
#E1EFDC
accent
#C0264B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB93DD

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

Preview Lab → · Contrast checker → · Palette generator →

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