#CB81FA#CB81FA

#CB81FA is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.7% C 0.183 H 310.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CB81FA
RGBrgb(203, 129, 250)
HSLhsl(277, 92%, 74%)
HSVhsv(277, 48%, 98%)
CMYKcmyk(18.8%, 48.4%, 0%, 2%)
CIE-LABlab(65.98, 49.53, -49.51)
CIE-LCHlch(65.98, 70.03, 315.02°)
OKLaboklab(72.72% 0.1194 -0.1381)
OKLCHoklch(72.72% 0.183 310.8)
XYZxyz(49.7310, 35.3001, 94.6177)
Luminance0.3530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81FA #B0FA81
analogous
#8F81FA #CB81FA #FA81ED
triadic
#CB81FA #FACB81 #81FACB
tetradic
#CB81FA #FA8F81 #B0FA81 #81EDFA
square
#CB81FA #FA8F81 #B0FA81 #81EDFA
split-complementary
#CB81FA #EDFA81 #81FA8F
monochromatic
#9A0BF5 #B346F8 #CB81FA #E3BCFC #F3E2FE

Accessibility & contrast

On white

2.61
#CB81FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CB81FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81FA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81FA#FFFFFF#000000##000000
##CB81FA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#C695B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb81fa;
/* rgb */ color: rgb(203, 129, 250);
/* oklch */ color: oklch(72.7% 0.183 310.8);
Tailwind
colors: {
  custom: {
    50: '#dda7fc',
    500: '#cb81fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb81fa;
$custom-light: #dda7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81fa",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 276.694,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72724,
    "c": 0.1826,
    "h": 310.8
  },
  "luminance": 0.35299
}

Semantic roles & 50–950 ramp

primary
#CB81FA
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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