#CB5ACC#CB5ACC

#CB5ACC is a light, vivid purple. Relative luminance 0.244; OKLCH L 65.0% C 0.198 H 327.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CB5ACC
RGBrgb(203, 90, 204)
HSLhsl(299, 53%, 58%)
HSVhsv(299, 56%, 80%)
CMYKcmyk(0.5%, 55.9%, 0%, 20%)
CIE-LABlab(56.46, 59.81, -38.82)
CIE-LCHlch(56.46, 71.30, 327.02°)
OKLaboklab(64.98% 0.166 -0.1069)
OKLCHoklch(64.98% 0.198 327.2)
XYZxyz(39.1832, 24.3708, 59.7552)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5ACC #5BCC5A
analogous
#925ACC #CB5ACC #CC5A94
triadic
#CB5ACC #CCCB5A #5ACCCB
tetradic
#CB5ACC #CC925A #5BCC5A #5A94CC
square
#CB5ACC #CC925A #5BCC5A #5A94CC
split-complementary
#CB5ACC #94CC5A #5ACC92
monochromatic
#822983 #B137B2 #CB5ACC #DA89DA #E8B7E9

Accessibility & contrast

On white

3.58
#CB5ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CB5ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5ACC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5ACC#FFFFFF#000000##000000
##CB5ACC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#728DC9
Tritanopia (blue-blind)
#D0688B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5acc;
/* rgb */ color: rgb(203, 90, 204);
/* oklch */ color: oklch(65.0% 0.198 327.2);
Tailwind
colors: {
  custom: {
    50: '#de8edc',
    500: '#cb5acc',
    950: '#000000',
  },
}
SCSS
$custom: #cb5acc;
$custom-light: #de8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5acc",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 299.474,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.1975,
    "h": 327.2
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#CB5ACC
secondary
#AAD8AA
accent
#DC4C4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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