#CB51FD#CB51FD

#CB51FD is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.8% C 0.253 H 314.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CB51FD
RGBrgb(203, 81, 253)
HSLhsl(283, 98%, 65%)
HSVhsv(283, 68%, 99%)
CMYKcmyk(19.8%, 68%, 0%, 0.8%)
CIE-LABlab(57.73, 72.77, -64.32)
CIE-LCHlch(57.73, 97.12, 318.53°)
OKLaboklab(66.75% 0.1769 -0.1812)
OKLCHoklch(66.75% 0.253 314.3)
XYZxyz(45.2977, 25.6747, 95.4790)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB51FD #83FD51
analogous
#7551FD #CB51FD #FD51D9
triadic
#CB51FD #FDCB51 #51FDCB
tetradic
#CB51FD #FD7551 #83FD51 #51D9FD
square
#CB51FD #FD7551 #83FD51 #51D9FD
split-complementary
#CB51FD #D9FD51 #51FD75
monochromatic
#9502D1 #B914FC #CB51FD #DD8EFE #EFCAFE

Accessibility & contrast

On white

3.42
#CB51FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CB51FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB51FD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB51FD#FFFFFF#000000##000000
##CB51FD1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#498EF9
Tritanopia (blue-blind)
#C674A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb51fd;
/* rgb */ color: rgb(203, 81, 253);
/* oklch */ color: oklch(66.8% 0.253 314.3);
Tailwind
colors: {
  custom: {
    50: '#df8bff',
    500: '#cb51fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb51fd;
$custom-light: #df8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb51fd",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 253
  },
  "hsl": {
    "h": 282.558,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66753,
    "c": 0.25318,
    "h": 314.3
  },
  "luminance": 0.25673
}

Semantic roles & 50–950 ramp

primary
#CB51FD
secondary
#C9F2B8
accent
#E60043
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #CB51FD

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

Preview Lab → · Contrast checker → · Palette generator →

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