#CB54FC#CB54FC

#CB54FC is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 67.0% C 0.249 H 314.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CB54FC
RGBrgb(203, 84, 252)
HSLhsl(283, 97%, 66%)
HSVhsv(283, 67%, 99%)
CMYKcmyk(19.4%, 66.7%, 0%, 1.2%)
CIE-LABlab(58.10, 71.35, -63.16)
CIE-LCHlch(58.10, 95.29, 318.49°)
OKLaboklab(67% 0.1739 -0.1778)
OKLCHoklch(67% 0.249 314.4)
XYZxyz(45.3667, 26.0669, 94.7182)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54FC #85FC54
analogous
#7754FC #CB54FC #FC54D9
triadic
#CB54FC #FCCB54 #54FCCB
tetradic
#CB54FC #FC7754 #85FC54 #54D9FC
square
#CB54FC #FC7754 #85FC54 #54D9FC
split-complementary
#CB54FC #D9FC54 #54FC77
monochromatic
#9604D2 #B918FB #CB54FC #DD90FD #F0CCFE

Accessibility & contrast

On white

3.38
#CB54FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CB54FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54FC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54FC#FFFFFF#000000##000000
##CB54FC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#4D8FF8
Tritanopia (blue-blind)
#C775A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb54fc;
/* rgb */ color: rgb(203, 84, 252);
/* oklch */ color: oklch(67.0% 0.249 314.4);
Tailwind
colors: {
  custom: {
    50: '#df8cfe',
    500: '#cb54fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb54fc;
$custom-light: #df8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54fc",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 252
  },
  "hsl": {
    "h": 282.5,
    "s": 96.552,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67001,
    "c": 0.24868,
    "h": 314.4
  },
  "luminance": 0.26065
}

Semantic roles & 50–950 ramp

primary
#CB54FC
secondary
#CAF2BA
accent
#E60043
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB54FC

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

Preview Lab → · Contrast checker → · Palette generator →

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