#CA82EF#CA82EF

#CA82EF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.2% C 0.168 H 313.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CA82EF
RGBrgb(202, 130, 239)
HSLhsl(280, 77%, 72%)
HSVhsv(280, 46%, 94%)
CMYKcmyk(15.5%, 45.6%, 0%, 6.3%)
CIE-LABlab(65.56, 46.40, -44.14)
CIE-LCHlch(65.56, 64.04, 316.43°)
OKLaboklab(72.21% 0.1155 -0.1226)
OKLCHoklch(72.21% 0.168 313.3)
XYZxyz(47.9171, 34.7549, 85.8288)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82EF #A7EF82
analogous
#9482EF #CA82EF #EF82DE
triadic
#CA82EF #EFCA82 #82EFCA
tetradic
#CA82EF #EF9482 #A7EF82 #82DEEF
square
#CA82EF #EF9482 #A7EF82 #82DEEF
split-complementary
#CA82EF #DEEF82 #82EF94
monochromatic
#9A1CDB #B34CE8 #CA82EF #E1B8F6 #F3E4FC

Accessibility & contrast

On white

2.64
#CA82EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CA82EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82EF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82EF#FFFFFF#000000##000000
##CA82EF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#C792AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ca82ef;
/* rgb */ color: rgb(202, 130, 239);
/* oklch */ color: oklch(72.2% 0.168 313.3);
Tailwind
colors: {
  custom: {
    50: '#dca8f4',
    500: '#ca82ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca82ef;
$custom-light: #dca8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82ef",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 279.633,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.1684,
    "h": 313.3
  },
  "luminance": 0.34754
}

Semantic roles & 50–950 ramp

primary
#CA82EF
secondary
#E1F3D8
accent
#DA0C52
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA82EF

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

Preview Lab → · Contrast checker → · Palette generator →

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