#CB81FE#CB81FE

#CB81FE is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.9% C 0.187 H 309.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CB81FE
RGBrgb(203, 129, 254)
HSLhsl(276, 98%, 75%)
HSVhsv(276, 49%, 100%)
CMYKcmyk(20.1%, 49.2%, 0%, 0.4%)
CIE-LABlab(66.18, 50.39, -51.39)
CIE-LCHlch(66.18, 71.97, 314.44°)
OKLaboklab(72.93% 0.1199 -0.1436)
OKLCHoklch(72.93% 0.187 309.8)
XYZxyz(50.3649, 35.5536, 97.9560)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81FE #B4FE81
analogous
#8C81FE #CB81FE #FE81F2
triadic
#CB81FE #FECB81 #81FECB
tetradic
#CB81FE #FE8C81 #B4FE81 #81F2FE
square
#CB81FE #FE8C81 #B4FE81 #81F2FE
split-complementary
#CB81FE #F2FE81 #81FE8C
monochromatic
#9908FD #B244FE #CB81FE #E4BEFE #F2E1FF

Accessibility & contrast

On white

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

On black

8.11
#CB81FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81FE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81FE#FFFFFF#000000##000000
##CB81FE1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#C596B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb81fe;
/* rgb */ color: rgb(203, 129, 254);
/* oklch */ color: oklch(72.9% 0.187 309.8);
Tailwind
colors: {
  custom: {
    50: '#dda7ff',
    500: '#cb81fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb81fe;
$custom-light: #dda7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81fe",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 275.52,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72933,
    "c": 0.18706,
    "h": 309.8
  },
  "luminance": 0.35553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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