#CB57DF#CB57DF

#CB57DF is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.6% C 0.219 H 321.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CB57DF
RGBrgb(203, 87, 223)
HSLhsl(291, 68%, 61%)
HSVhsv(291, 61%, 87%)
CMYKcmyk(9%, 61%, 0%, 12.5%)
CIE-LABlab(56.92, 64.56, -48.85)
CIE-LCHlch(56.92, 80.96, 322.89°)
OKLaboklab(65.62% 0.1711 -0.136)
OKLCHoklch(65.62% 0.219 321.5)
XYZxyz(41.3546, 24.8427, 72.4145)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57DF #6BDF57
analogous
#8757DF #CB57DF #DF57AF
triadic
#CB57DF #DFCB57 #57DFCB
tetradic
#CB57DF #DF8757 #6BDF57 #57AFDF
square
#CB57DF #DF8757 #6BDF57 #57AFDF
split-complementary
#CB57DF #AFDF57 #57DF87
monochromatic
#8B1E9E #B828D1 #CB57DF #DB8AE9 #EBBEF3

Accessibility & contrast

On white

3.52
#CB57DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CB57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57DF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57DF#FFFFFF#000000##000000
##CB57DF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#668DDB
Tritanopia (blue-blind)
#CD6C93
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb57df;
/* rgb */ color: rgb(203, 87, 223);
/* oklch */ color: oklch(65.6% 0.219 321.5);
Tailwind
colors: {
  custom: {
    50: '#de8de9',
    500: '#cb57df',
    950: '#000000',
  },
}
SCSS
$custom: #cb57df;
$custom-light: #de8de9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57df",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 291.176,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65624,
    "c": 0.21852,
    "h": 321.5
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#CB57DF
secondary
#B7E3AF
accent
#D01631
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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