#CB57BA#CB57BA

#CB57BA is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.7% C 0.187 H 333.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CB57BA
RGBrgb(203, 87, 186)
HSLhsl(309, 53%, 57%)
HSVhsv(309, 57%, 80%)
CMYKcmyk(0%, 57.1%, 8.4%, 20.4%)
CIE-LABlab(55.13, 58.14, -30.57)
CIE-LCHlch(55.13, 65.68, 332.26°)
OKLaboklab(63.74% 0.1675 -0.0833)
OKLCHoklch(63.74% 0.187 333.6)
XYZxyz(36.8998, 23.0607, 48.9525)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57BA #57CB68
analogous
#A257CB #CB57BA #CB5780
triadic
#CB57BA #BACB57 #57BACB
tetradic
#CB57BA #CBA257 #57CB68 #5780CB
square
#CB57BA #CBA257 #57CB68 #5780CB
split-complementary
#CB57BA #80CB57 #57CBA2
monochromatic
#802873 #AF369D #CB57BA #D986CD #E8B4E0

Accessibility & contrast

On white

3.74
#CB57BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CB57BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57BA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57BA#FFFFFF#000000##000000
##CB57BA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5579BD
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#D35F81
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb57ba;
/* rgb */ color: rgb(203, 87, 186);
/* oklch */ color: oklch(63.7% 0.187 333.6);
Tailwind
colors: {
  custom: {
    50: '#de8ccf',
    500: '#cb57ba',
    950: '#000000',
  },
}
SCSS
$custom: #cb57ba;
$custom-light: #de8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57ba",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 308.793,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63738,
    "c": 0.18707,
    "h": 333.6
  },
  "luminance": 0.23058
}

Semantic roles & 50–950 ramp

primary
#CB57BA
secondary
#A7D7AE
accent
#DC614C
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150D14
muted
#837D82

Preview Lab

Preview with #CB57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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