#CB82F8#CB82F8

#CB82F8 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.8% C 0.179 H 311.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#CB82F8
RGBrgb(203, 130, 248)
HSLhsl(277, 89%, 74%)
HSVhsv(277, 48%, 97%)
CMYKcmyk(18.1%, 47.6%, 0%, 2.7%)
CIE-LABlab(66.09, 48.58, -48.24)
CIE-LCHlch(66.09, 68.46, 315.20°)
OKLaboklab(72.77% 0.1178 -0.1345)
OKLCHoklch(72.77% 0.179 311.2)
XYZxyz(49.5515, 35.4400, 93.0190)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82F8 #AFF882
analogous
#9082F8 #CB82F8 #F882EA
triadic
#CB82F8 #F8CB82 #82F8CB
tetradic
#CB82F8 #F89082 #AFF882 #82EAF8
square
#CB82F8 #F89082 #AFF882 #82EAF8
split-complementary
#CB82F8 #EAF882 #82F890
monochromatic
#9B0EF2 #B348F5 #CB82F8 #E3BCFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.09
#CB82F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82F8
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82F8#FFFFFF#000000##000000
##CB82F81.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#7BA2F5
Tritanopia (blue-blind)
#C695B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb82f8;
/* rgb */ color: rgb(203, 130, 248);
/* oklch */ color: oklch(72.8% 0.179 311.2);
Tailwind
colors: {
  custom: {
    50: '#dda8fb',
    500: '#cb82f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb82f8;
$custom-light: #dda8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82f8",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 277.119,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72773,
    "c": 0.17879,
    "h": 311.2
  },
  "luminance": 0.35439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB82F8

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

Preview Lab → · Contrast checker → · Palette generator →

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