#CB82F6#CB82F6

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

Color values

HEX#CB82F6
RGBrgb(203, 130, 246)
HSLhsl(278, 87%, 74%)
HSVhsv(278, 47%, 96%)
CMYKcmyk(17.5%, 47.2%, 0%, 3.5%)
CIE-LABlab(65.99, 48.16, -47.29)
CIE-LCHlch(65.99, 67.49, 315.52°)
OKLaboklab(72.67% 0.1176 -0.1317)
OKLCHoklch(72.67% 0.177 311.8)
XYZxyz(49.2429, 35.3166, 91.3936)
Luminance0.3532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82F6 #ADF682
analogous
#9182F6 #CB82F6 #F682E7
triadic
#CB82F6 #F6CB82 #82F6CB
tetradic
#CB82F6 #F69182 #ADF682 #82E7F6
square
#CB82F6 #F69182 #ADF682 #82E7F6
split-complementary
#CB82F6 #E7F682 #82F691
monochromatic
#9B11ED #B349F2 #CB82F6 #E3BBFA #F3E2FD

Accessibility & contrast

On white

2.60
#CB82F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB82F6#FFFFFF#000000##000000
##CB82F61.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689DFA
Deuteranopia (green-blind)
#7CA2F3
Tritanopia (blue-blind)
#C694B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb82f6;
/* rgb */ color: rgb(203, 130, 246);
/* oklch */ color: oklch(72.7% 0.177 311.8);
Tailwind
colors: {
  custom: {
    50: '#dda8f9',
    500: '#cb82f6',
    950: '#000000',
  },
}
SCSS
$custom: #cb82f6;
$custom-light: #dda8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82f6",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 277.759,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72671,
    "c": 0.17656,
    "h": 311.8
  },
  "luminance": 0.35316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB82F6

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

Preview Lab → · Contrast checker → · Palette generator →

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