#CB57FC#CB57FC

#CB57FC is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.3% C 0.245 H 314.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CB57FC
RGBrgb(203, 87, 252)
HSLhsl(282, 96%, 66%)
HSVhsv(282, 65%, 99%)
CMYKcmyk(19.4%, 65.5%, 0%, 1.2%)
CIE-LABlab(58.55, 70.11, -62.44)
CIE-LCHlch(58.55, 93.88, 318.31°)
OKLaboklab(67.32% 0.1707 -0.1757)
OKLCHoklch(67.32% 0.245 314.2)
XYZxyz(45.6045, 26.5426, 94.7975)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB57FC #88FC57
analogous
#7957FC #CB57FC #FC57DA
triadic
#CB57FC #FCCB57 #57FCCB
tetradic
#CB57FC #FC7957 #88FC57 #57DAFC
square
#CB57FC #FC7957 #88FC57 #57DAFC
split-complementary
#CB57FC #DAFC57 #57FC79
monochromatic
#9704D5 #B81BFB #CB57FC #DE93FD #F0CFFE

Accessibility & contrast

On white

3.33
#CB57FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CB57FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB57FC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB57FC#FFFFFF#000000##000000
##CB57FC1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#C777A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb57fc;
/* rgb */ color: rgb(203, 87, 252);
/* oklch */ color: oklch(67.3% 0.245 314.2);
Tailwind
colors: {
  custom: {
    50: '#df8efe',
    500: '#cb57fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb57fc;
$custom-light: #df8efe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb57fc",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 282.182,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.24497,
    "h": 314.2
  },
  "luminance": 0.26541
}

Semantic roles & 50–950 ramp

primary
#CB57FC
secondary
#CDF2BD
accent
#E60044
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB57FC

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

Preview Lab → · Contrast checker → · Palette generator →

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