#CB82F2#CB82F2

#CB82F2 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.5% C 0.172 H 312.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#CB82F2
RGBrgb(203, 130, 242)
HSLhsl(279, 81%, 73%)
HSVhsv(279, 46%, 95%)
CMYKcmyk(16.1%, 46.3%, 0%, 5.1%)
CIE-LABlab(65.81, 47.31, -45.39)
CIE-LCHlch(65.81, 65.56, 316.19°)
OKLaboklab(72.47% 0.1171 -0.1262)
OKLCHoklch(72.47% 0.172 312.8)
XYZxyz(48.6355, 35.0736, 88.1950)
Luminance0.3507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82F2 #A9F282
analogous
#9382F2 #CB82F2 #F282E1
triadic
#CB82F2 #F2CB82 #82F2CB
tetradic
#CB82F2 #F29382 #A9F282 #82E1F2
square
#CB82F2 #F29382 #A9F282 #82E1F2
split-complementary
#CB82F2 #E1F282 #82F293
monochromatic
#9C18E2 #B44BEC #CB82F2 #E2B9F8 #F3E3FC

Accessibility & contrast

On white

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

On black

8.01
#CB82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82F2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82F2#FFFFFF#000000##000000
##CB82F21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#C793AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb82f2;
/* rgb */ color: rgb(203, 130, 242);
/* oklch */ color: oklch(72.5% 0.172 312.8);
Tailwind
colors: {
  custom: {
    50: '#dda8f7',
    500: '#cb82f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb82f2;
$custom-light: #dda8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82f2",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 279.107,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72469,
    "c": 0.17213,
    "h": 312.8
  },
  "luminance": 0.35073
}

Semantic roles & 50–950 ramp

primary
#CB82F2
secondary
#E1F4D7
accent
#DE0852
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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