#CB81FD#CB81FD

#CB81FD is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.9% C 0.186 H 310.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CB81FD
RGBrgb(203, 129, 253)
HSLhsl(276, 97%, 75%)
HSVhsv(276, 49%, 99%)
CMYKcmyk(19.8%, 49%, 0%, 0.8%)
CIE-LABlab(66.13, 50.18, -50.92)
CIE-LCHlch(66.13, 71.49, 314.58°)
OKLaboklab(72.88% 0.1198 -0.1422)
OKLCHoklch(72.88% 0.186 310.1)
XYZxyz(50.2052, 35.4897, 97.1149)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81FD #B3FD81
analogous
#8D81FD #CB81FD #FD81F1
triadic
#CB81FD #FDCB81 #81FDCB
tetradic
#CB81FD #FD8D81 #B3FD81 #81F1FD
square
#CB81FD #FD8D81 #B3FD81 #81F1FD
split-complementary
#CB81FD #F1FD81 #81FD8D
monochromatic
#9909FB #B245FC #CB81FD #E4BDFE #F3E1FF

Accessibility & contrast

On white

2.59
#CB81FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#CB81FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81FD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81FD#FFFFFF#000000##000000
##CB81FD1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#C595B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb81fd;
/* rgb */ color: rgb(203, 129, 253);
/* oklch */ color: oklch(72.9% 0.186 310.1);
Tailwind
colors: {
  custom: {
    50: '#dda7fe',
    500: '#cb81fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb81fd;
$custom-light: #dda7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81fd",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 275.806,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.18594,
    "h": 310.1
  },
  "luminance": 0.35489
}

Semantic roles & 50–950 ramp

primary
#CB81FD
secondary
#E2F7D4
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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