#CB82F7#CB82F7

#CB82F7 is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.7% C 0.178 H 311.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#CB82F7
RGBrgb(203, 130, 247)
HSLhsl(277, 88%, 74%)
HSVhsv(277, 47%, 97%)
CMYKcmyk(17.8%, 47.4%, 0%, 3.1%)
CIE-LABlab(66.04, 48.37, -47.77)
CIE-LCHlch(66.04, 67.98, 315.36°)
OKLaboklab(72.72% 0.1177 -0.1331)
OKLCHoklch(72.72% 0.178 311.5)
XYZxyz(49.3968, 35.3781, 92.2041)
Luminance0.3538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB82F7 #AEF782
analogous
#9182F7 #CB82F7 #F782E9
triadic
#CB82F7 #F7CB82 #82F7CB
tetradic
#CB82F7 #F79182 #AEF782 #82E9F7
square
#CB82F7 #F79182 #AEF782 #82E9F7
split-complementary
#CB82F7 #E9F782 #82F791
monochromatic
#9B0FEF #B348F3 #CB82F7 #E3BCFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.08
#CB82F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB82F7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB82F7#FFFFFF#000000##000000
##CB82F71.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#C694B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cb82f7;
/* rgb */ color: rgb(203, 130, 247);
/* oklch */ color: oklch(72.7% 0.178 311.5);
Tailwind
colors: {
  custom: {
    50: '#dda8fa',
    500: '#cb82f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb82f7;
$custom-light: #dda8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb82f7",
  "rgb": {
    "r": 203,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 277.436,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72722,
    "c": 0.17768,
    "h": 311.5
  },
  "luminance": 0.35377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB82F7

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

Preview Lab → · Contrast checker → · Palette generator →

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