#CB51FF#CB51FF

#CB51FF is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.9% C 0.255 H 313.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CB51FF
RGBrgb(203, 81, 255)
HSLhsl(282, 100%, 66%)
HSVhsv(282, 68%, 100%)
CMYKcmyk(20.4%, 68.2%, 0%, 0%)
CIE-LABlab(57.85, 73.16, -65.23)
CIE-LCHlch(57.85, 98.01, 318.28°)
OKLaboklab(66.88% 0.1767 -0.1838)
OKLCHoklch(66.88% 0.255 313.9)
XYZxyz(45.6180, 25.8028, 97.1658)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51FF #85FF51
analogous
#7451FF #CB51FF #FF51DC
triadic
#CB51FF #FFCB51 #51FFCB
tetradic
#CB51FF #FF7451 #85FF51 #51DCFF
square
#CB51FF #FF7451 #85FF51 #51DCFF
split-complementary
#CB51FF #DCFF51 #51FF74
monochromatic
#9600D6 #B914FF #CB51FF #DD8EFF #F0CBFF

Accessibility & contrast

On white

3.41
#CB51FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CB51FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51FF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51FF#FFFFFF#000000##000000
##CB51FF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#C675A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb51ff;
/* rgb */ color: rgb(203, 81, 255);
/* oklch */ color: oklch(66.9% 0.255 313.9);
Tailwind
colors: {
  custom: {
    50: '#df8bff',
    500: '#cb51ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb51ff;
$custom-light: #df8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51ff",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 282.069,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.25498,
    "h": 313.9
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#CB51FF
secondary
#CAF3B9
accent
#E60045
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #CB51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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