#CB57F2#CB57F2

#CB57F2 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.236 H 316.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CB57F2
RGBrgb(203, 87, 242)
HSLhsl(285, 86%, 65%)
HSVhsv(285, 64%, 95%)
CMYKcmyk(16.1%, 64%, 0%, 5.1%)
CIE-LABlab(57.97, 68.15, -57.83)
CIE-LCHlch(57.97, 89.38, 319.69°)
OKLaboklab(66.72% 0.1711 -0.1622)
OKLCHoklch(66.72% 0.236 316.5)
XYZxyz(44.0614, 25.9254, 86.6703)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57F2 #7EF257
analogous
#7E57F2 #CB57F2 #F257CC
triadic
#CB57F2 #F2CB57 #57F2CB
tetradic
#CB57F2 #F27E57 #7EF257 #57CCF2
square
#CB57F2 #F27E57 #7EF257 #57CCF2
split-complementary
#CB57F2 #CCF257 #57F27E
monochromatic
#930FC0 #B91EEE #CB57F2 #DD90F6 #EEC9FB

Accessibility & contrast

On white

3.40
#CB57F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CB57F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57F2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57F2#FFFFFF#000000##000000
##CB57F21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1884F7
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#C9739D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb57f2;
/* rgb */ color: rgb(203, 87, 242);
/* oklch */ color: oklch(66.7% 0.236 316.5);
Tailwind
colors: {
  custom: {
    50: '#df8ef7',
    500: '#cb57f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb57f2;
$custom-light: #df8ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57f2",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 284.903,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66716,
    "c": 0.23576,
    "h": 316.5
  },
  "luminance": 0.25924
}

Semantic roles & 50–950 ramp

primary
#CB57F2
secondary
#C5EDB8
accent
#E2033B
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB57F2

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

Preview Lab → · Contrast checker → · Palette generator →

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