#CB54F9#CB54F9

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

Color values

HEX#CB54F9
RGBrgb(203, 84, 249)
HSLhsl(283, 93%, 65%)
HSVhsv(283, 66%, 98%)
CMYKcmyk(18.5%, 66.3%, 0%, 2.4%)
CIE-LABlab(57.92, 70.77, -61.79)
CIE-LCHlch(57.92, 93.95, 318.88°)
OKLaboklab(66.82% 0.1741 -0.1738)
OKLCHoklch(66.82% 0.246 315)
XYZxyz(44.8950, 25.8783, 92.2343)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54F9 #82F954
analogous
#7954F9 #CB54F9 #F954D4
triadic
#CB54F9 #F9CB54 #54F9CB
tetradic
#CB54F9 #F97954 #82F954 #54D4F9
square
#CB54F9 #F97954 #82F954 #54D4F9
split-complementary
#CB54F9 #D4F954 #54F979
monochromatic
#9507CB #B919F7 #CB54F9 #DD8FFB #EFCAFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB54F9#FFFFFF#000000##000000
##CB54F91.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)
#0084FE
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#C774A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb54f9;
/* rgb */ color: rgb(203, 84, 249);
/* oklch */ color: oklch(66.8% 0.246 315.0);
Tailwind
colors: {
  custom: {
    50: '#df8cfc',
    500: '#cb54f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb54f9;
$custom-light: #df8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54f9",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 249
  },
  "hsl": {
    "h": 283.273,
    "s": 93.22,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.24595,
    "h": 315
  },
  "luminance": 0.25877
}

Semantic roles & 50–950 ramp

primary
#CB54F9
secondary
#C8F0B9
accent
#E60040
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CB54F9

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

Preview Lab → · Contrast checker → · Palette generator →

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