#CB5EBA#CB5EBA

#CB5EBA is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.6% C 0.176 H 333.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CB5EBA
RGBrgb(203, 94, 186)
HSLhsl(309, 51%, 58%)
HSVhsv(309, 54%, 80%)
CMYKcmyk(0%, 53.7%, 8.4%, 20.4%)
CIE-LABlab(56.34, 54.90, -28.70)
CIE-LCHlch(56.34, 61.95, 332.40°)
OKLaboklab(64.62% 0.1581 -0.078)
OKLCHoklch(64.62% 0.176 333.7)
XYZxyz(37.4943, 24.2497, 49.1507)
Luminance0.2425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EBA #5ECB6F
analogous
#A55ECB #CB5EBA #CB5E83
triadic
#CB5EBA #BACB5E #5EBACB
tetradic
#CB5EBA #CBA55E #5ECB6F #5E83CB
square
#CB5EBA #CBA55E #5ECB6F #5E83CB
split-complementary
#CB5EBA #83CB5E #5ECBA5
monochromatic
#842B76 #B23A9F #CB5EBA #DA8CCE #E9BBE2

Accessibility & contrast

On white

3.59
#CB5EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CB5EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EBA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EBA#FFFFFF#000000##000000
##CB5EBA1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#7D8DB7
Tritanopia (blue-blind)
#D36584
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5eba;
/* rgb */ color: rgb(203, 94, 186);
/* oklch */ color: oklch(64.6% 0.176 333.7);
Tailwind
colors: {
  custom: {
    50: '#dd90cf',
    500: '#cb5eba',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eba;
$custom-light: #dd90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eba",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 309.358,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64624,
    "c": 0.17633,
    "h": 333.7
  },
  "luminance": 0.24247
}

Semantic roles & 50–950 ramp

primary
#CB5EBA
secondary
#ADD8B3
accent
#DB634D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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