#CB81FB#CB81FB

#CB81FB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.8% C 0.184 H 310.6°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CB81FB
RGBrgb(203, 129, 251)
HSLhsl(276, 94%, 75%)
HSVhsv(276, 49%, 98%)
CMYKcmyk(19.1%, 48.6%, 0%, 1.6%)
CIE-LABlab(66.03, 49.75, -49.98)
CIE-LCHlch(66.03, 70.52, 314.87°)
OKLaboklab(72.78% 0.1195 -0.1395)
OKLCHoklch(72.78% 0.184 310.6)
XYZxyz(49.8883, 35.3630, 95.4457)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81FB #B1FB81
analogous
#8E81FB #CB81FB #FB81EE
triadic
#CB81FB #FBCB81 #81FBCB
tetradic
#CB81FB #FB8E81 #B1FB81 #81EEFB
square
#CB81FB #FB8E81 #B1FB81 #81EEFB
split-complementary
#CB81FB #EEFB81 #81FB8E
monochromatic
#9A0AF7 #B346F9 #CB81FB #E3BCFD #F3E1FE

Accessibility & contrast

On white

2.60
#CB81FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CB81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81FB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81FB#FFFFFF#000000##000000
##CB81FB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#C595B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb81fb;
/* rgb */ color: rgb(203, 129, 251);
/* oklch */ color: oklch(72.8% 0.184 310.6);
Tailwind
colors: {
  custom: {
    50: '#dda7fd',
    500: '#cb81fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb81fb;
$custom-light: #dda7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81fb",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 276.393,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72776,
    "c": 0.18372,
    "h": 310.6
  },
  "luminance": 0.35362
}

Semantic roles & 50–950 ramp

primary
#CB81FB
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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