#CB54FA#CB54FA

#CB54FA is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.9% C 0.247 H 314.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CB54FA
RGBrgb(203, 84, 250)
HSLhsl(283, 94%, 65%)
HSVhsv(283, 66%, 98%)
CMYKcmyk(18.8%, 66.4%, 0%, 2%)
CIE-LABlab(57.98, 70.96, -62.25)
CIE-LCHlch(57.98, 94.39, 318.74°)
OKLaboklab(66.88% 0.174 -0.1751)
OKLCHoklch(66.88% 0.247 314.8)
XYZxyz(45.0514, 25.9408, 93.0579)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54FA #83FA54
analogous
#7854FA #CB54FA #FA54D6
triadic
#CB54FA #FACB54 #54FACB
tetradic
#CB54FA #FA7854 #83FA54 #54D6FA
square
#CB54FA #FA7854 #83FA54 #54D6FA
split-complementary
#CB54FA #D6FA54 #54FA78
monochromatic
#9506CE #B919F8 #CB54FA #DD8FFC #EFCBFD

Accessibility & contrast

On white

3.39
#CB54FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CB54FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54FA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54FA#FFFFFF#000000##000000
##CB54FA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#C775A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb54fa;
/* rgb */ color: rgb(203, 84, 250);
/* oklch */ color: oklch(66.9% 0.247 314.8);
Tailwind
colors: {
  custom: {
    50: '#df8cfd',
    500: '#cb54fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb54fa;
$custom-light: #df8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54fa",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 250
  },
  "hsl": {
    "h": 283.012,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66877,
    "c": 0.24686,
    "h": 314.8
  },
  "luminance": 0.25939
}

Semantic roles & 50–950 ramp

primary
#CB54FA
secondary
#C9F1B9
accent
#E60041
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB54FA

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

Preview Lab → · Contrast checker → · Palette generator →

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