#CB81F7#CB81F7

#CB81F7 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.6% C 0.179 H 311.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#CB81F7
RGBrgb(203, 129, 247)
HSLhsl(278, 88%, 74%)
HSVhsv(278, 48%, 97%)
CMYKcmyk(17.8%, 47.8%, 0%, 3.1%)
CIE-LABlab(65.84, 48.89, -48.09)
CIE-LCHlch(65.84, 68.58, 315.48°)
OKLaboklab(72.57% 0.1191 -0.134)
OKLCHoklch(72.57% 0.179 311.6)
XYZxyz(49.2644, 35.1134, 92.1600)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81F7 #ADF781
analogous
#9081F7 #CB81F7 #F781E8
triadic
#CB81F7 #F7CB81 #81F7CB
tetradic
#CB81F7 #F79081 #ADF781 #81E8F7
square
#CB81F7 #F79081 #ADF781 #81E8F7
split-complementary
#CB81F7 #E8F781 #81F790
monochromatic
#9B0FEE #B347F3 #CB81F7 #E3BBFB #F3E2FD

Accessibility & contrast

On white

2.62
#CB81F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#CB81F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81F7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81F7#FFFFFF#000000##000000
##CB81F71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#7AA2F4
Tritanopia (blue-blind)
#C694B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb81f7;
/* rgb */ color: rgb(203, 129, 247);
/* oklch */ color: oklch(72.6% 0.179 311.6);
Tailwind
colors: {
  custom: {
    50: '#dda7fa',
    500: '#cb81f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb81f7;
$custom-light: #dda7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81f7",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 247
  },
  "hsl": {
    "h": 277.627,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72569,
    "c": 0.17927,
    "h": 311.6
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#CB81F7
secondary
#E2F5D6
accent
#E50156
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB81F7

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

Preview Lab → · Contrast checker → · Palette generator →

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