#CB81F9#CB81F9

#CB81F9 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.7% C 0.181 H 311.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CB81F9
RGBrgb(203, 129, 249)
HSLhsl(277, 91%, 74%)
HSVhsv(277, 48%, 98%)
CMYKcmyk(18.5%, 48.2%, 0%, 2.4%)
CIE-LABlab(65.93, 49.32, -49.03)
CIE-LCHlch(65.93, 69.55, 315.17°)
OKLaboklab(72.67% 0.1193 -0.1368)
OKLCHoklch(72.67% 0.182 311.1)
XYZxyz(49.5747, 35.2375, 93.7941)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81F9 #AFF981
analogous
#8F81F9 #CB81F9 #F981EB
triadic
#CB81F9 #F9CB81 #81F9CB
tetradic
#CB81F9 #F98F81 #AFF981 #81EBF9
square
#CB81F9 #F98F81 #AFF981 #81EBF9
split-complementary
#CB81F9 #EBF981 #81F98F
monochromatic
#9B0CF3 #B347F6 #CB81F9 #E3BBFC #F3E2FE

Accessibility & contrast

On white

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

On black

8.05
#CB81F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81F9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81F9#FFFFFF#000000##000000
##CB81F91.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFD
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#C694B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb81f9;
/* rgb */ color: rgb(203, 129, 249);
/* oklch */ color: oklch(72.7% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#dda7fc',
    500: '#cb81f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb81f9;
$custom-light: #dda7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81f9",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 249
  },
  "hsl": {
    "h": 277,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.1815,
    "h": 311.1
  },
  "luminance": 0.35237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB81F9

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

Preview Lab → · Contrast checker → · Palette generator →

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