#CA82E7#CA82E7

#CA82E7 is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.8% C 0.160 H 315.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#CA82E7
RGBrgb(202, 130, 231)
HSLhsl(283, 68%, 71%)
HSVhsv(283, 44%, 91%)
CMYKcmyk(12.6%, 43.7%, 0%, 9.4%)
CIE-LABlab(65.19, 44.74, -40.29)
CIE-LCHlch(65.19, 60.21, 318.00°)
OKLaboklab(71.82% 0.1142 -0.1115)
OKLCHoklch(71.82% 0.16 315.7)
XYZxyz(46.7614, 34.2926, 79.7417)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82E7 #9FE782
analogous
#9782E7 #CA82E7 #E782D1
triadic
#CA82E7 #E7CA82 #82E7CA
tetradic
#CA82E7 #E79782 #9FE782 #82D1E7
square
#CA82E7 #E79782 #9FE782 #82D1E7
split-complementary
#CA82E7 #D1E782 #82E797
monochromatic
#9A26C8 #B44FDD #CA82E7 #E0B5F1 #F4E5FA

Accessibility & contrast

On white

2.67
#CA82E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#CA82E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82E7
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82E7#FFFFFF#000000##000000
##CA82E71.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEB
Deuteranopia (green-blind)
#83A0E4
Tritanopia (blue-blind)
#C990AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca82e7;
/* rgb */ color: rgb(202, 130, 231);
/* oklch */ color: oklch(71.8% 0.160 315.7);
Tailwind
colors: {
  custom: {
    50: '#dca8ef',
    500: '#ca82e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca82e7;
$custom-light: #dca8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82e7",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 231
  },
  "hsl": {
    "h": 282.772,
    "s": 67.785,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71824,
    "c": 0.15958,
    "h": 315.7
  },
  "luminance": 0.34291
}

Semantic roles & 50–950 ramp

primary
#CA82E7
secondary
#DDF0D5
accent
#D0164B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CA82E7

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

Preview Lab → · Contrast checker → · Palette generator →

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