#CB82FC#CB82FC

#CB82FC is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.0% C 0.183 H 310.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CB82FC
RGBrgb(203, 130, 252)
HSLhsl(276, 95%, 75%)
HSVhsv(276, 48%, 99%)
CMYKcmyk(19.4%, 48.4%, 0%, 1.2%)
CIE-LABlab(66.28, 49.44, -50.13)
CIE-LCHlch(66.28, 70.40, 314.61°)
OKLaboklab(72.98% 0.1183 -0.1399)
OKLCHoklch(72.98% 0.183 310.2)
XYZxyz(50.1787, 35.6909, 96.3222)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82FC #B3FC82
analogous
#8E82FC #CB82FC #FC82F0
triadic
#CB82FC #FCCB82 #82FCCB
tetradic
#CB82FC #FC8E82 #B3FC82 #82F0FC
square
#CB82FC #FC8E82 #B3FC82 #82F0FC
split-complementary
#CB82FC #F0FC82 #82FC8E
monochromatic
#990AF9 #B246FB #CB82FC #E4BEFD #F3E1FE

Accessibility & contrast

On white

2.58
#CB82FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CB82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82FC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82FC#FFFFFF#000000##000000
##CB82FC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#79A2F9
Tritanopia (blue-blind)
#C596B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb82fc;
/* rgb */ color: rgb(203, 130, 252);
/* oklch */ color: oklch(73.0% 0.183 310.2);
Tailwind
colors: {
  custom: {
    50: '#dda8fe',
    500: '#cb82fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb82fc;
$custom-light: #dda8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82fc",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 275.902,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7298,
    "c": 0.18326,
    "h": 310.2
  },
  "luminance": 0.3569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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