#CB81FF#CB81FF

#CB81FF is a light, vivid violet. Relative luminance 0.356; OKLCH L 73.0% C 0.188 H 309.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#CB81FF
RGBrgb(203, 129, 255)
HSLhsl(275, 100%, 75%)
HSVhsv(275, 49%, 100%)
CMYKcmyk(20.4%, 49.4%, 0%, 0%)
CIE-LABlab(66.23, 50.61, -51.86)
CIE-LCHlch(66.23, 72.46, 314.30°)
OKLaboklab(72.99% 0.12 -0.145)
OKLCHoklch(72.99% 0.188 309.6)
XYZxyz(50.5255, 35.6178, 98.8016)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81FF #B5FF81
analogous
#8C81FF #CB81FF #FF81F4
triadic
#CB81FF #FFCB81 #81FFCB
tetradic
#CB81FF #FF8C81 #B5FF81 #81F4FF
square
#CB81FF #FF8C81 #B5FF81 #81F4FF
split-complementary
#CB81FF #F4FF81 #81FF8C
monochromatic
#9807FF #B244FF #CB81FF #E4BEFF #F2E0FF

Accessibility & contrast

On white

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

On black

8.12
#CB81FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81FF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81FF#FFFFFF#000000##000000
##CB81FF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609EFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#C496B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb81ff;
/* rgb */ color: rgb(203, 129, 255);
/* oklch */ color: oklch(73.0% 0.188 309.6);
Tailwind
colors: {
  custom: {
    50: '#dda7ff',
    500: '#cb81ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb81ff;
$custom-light: #dda7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81ff",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 275.238,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72986,
    "c": 0.18817,
    "h": 309.6
  },
  "luminance": 0.35617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB81FF

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

Preview Lab → · Contrast checker → · Palette generator →

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