#CB54F1#CB54F1

#CB54F1 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.239 H 317.0°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CB54F1
RGBrgb(203, 84, 241)
HSLhsl(285, 85%, 64%)
HSVhsv(285, 65%, 95%)
CMYKcmyk(15.8%, 65.1%, 0%, 5.5%)
CIE-LABlab(57.45, 69.22, -58.09)
CIE-LCHlch(57.45, 90.37, 320.00°)
OKLaboklab(66.33% 0.1744 -0.1629)
OKLCHoklch(66.33% 0.239 317)
XYZxyz(43.6738, 25.3898, 85.8022)
Luminance0.2539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54F1 #7AF154
analogous
#7C54F1 #CB54F1 #F154C8
triadic
#CB54F1 #F1CB54 #54F1CB
tetradic
#CB54F1 #F17C54 #7AF154 #54C8F1
square
#CB54F1 #F17C54 #7AF154 #54C8F1
split-complementary
#CB54F1 #C8F154 #54F17C
monochromatic
#920FBB #BA1BEC #CB54F1 #DC8DF6 #EDC5FA

Accessibility & contrast

On white

3.46
#CB54F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CB54F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54F1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54F1#FFFFFF#000000##000000
##CB54F11.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D83F6
Deuteranopia (green-blind)
#578EED
Tritanopia (blue-blind)
#C9719C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb54f1;
/* rgb */ color: rgb(203, 84, 241);
/* oklch */ color: oklch(66.3% 0.239 317.0);
Tailwind
colors: {
  custom: {
    50: '#df8cf6',
    500: '#cb54f1',
    950: '#000000',
  },
}
SCSS
$custom: #cb54f1;
$custom-light: #df8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54f1",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 241
  },
  "hsl": {
    "h": 285.478,
    "s": 84.865,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66328,
    "c": 0.23869,
    "h": 317
  },
  "luminance": 0.25388
}

Semantic roles & 50–950 ramp

primary
#CB54F1
secondary
#C2ECB5
accent
#E1043A
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB54F1

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

Preview Lab → · Contrast checker → · Palette generator →

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