#CB82FE#CB82FE

#CB82FE is a light, vivid violet. Relative luminance 0.358; OKLCH L 73.1% C 0.185 H 309.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CB82FE
RGBrgb(203, 130, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 49%, 100%)
CMYKcmyk(20.1%, 48.8%, 0%, 0.4%)
CIE-LABlab(66.38, 49.87, -51.07)
CIE-LCHlch(66.38, 71.38, 314.32°)
OKLaboklab(73.08% 0.1185 -0.1427)
OKLCHoklch(73.08% 0.186 309.7)
XYZxyz(50.4973, 35.8183, 98.0002)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82FE #B5FE82
analogous
#8D82FE #CB82FE #FE82F3
triadic
#CB82FE #FECB82 #82FECB
tetradic
#CB82FE #FE8D82 #B5FE82 #82F3FE
square
#CB82FE #FE8D82 #B5FE82 #82F3FE
split-complementary
#CB82FE #F3FE82 #82FE8D
monochromatic
#9809FD #B245FE #CB82FE #E4BFFE #F2E1FF

Accessibility & contrast

On white

2.57
#CB82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CB82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82FE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82FE#FFFFFF#000000##000000
##CB82FE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#C597B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb82fe;
/* rgb */ color: rgb(203, 130, 254);
/* oklch */ color: oklch(73.1% 0.185 309.7);
Tailwind
colors: {
  custom: {
    50: '#dda8ff',
    500: '#cb82fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb82fe;
$custom-light: #dda8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82fe",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 275.323,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73084,
    "c": 0.1855,
    "h": 309.7
  },
  "luminance": 0.35818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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