#CA82F6#CA82F6

#CA82F6 is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.6% C 0.176 H 311.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CA82F6
RGBrgb(202, 130, 246)
HSLhsl(277, 87%, 74%)
HSVhsv(277, 47%, 96%)
CMYKcmyk(17.9%, 47.2%, 0%, 3.5%)
CIE-LABlab(65.89, 47.88, -47.47)
CIE-LCHlch(65.89, 67.43, 315.25°)
OKLaboklab(72.57% 0.1164 -0.1322)
OKLCHoklch(72.57% 0.176 311.4)
XYZxyz(48.9713, 35.1766, 91.3809)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82F6 #AEF682
analogous
#9082F6 #CA82F6 #F682E8
triadic
#CA82F6 #F6CA82 #82F6CA
tetradic
#CA82F6 #F69082 #AEF682 #82E8F6
square
#CA82F6 #F69082 #AEF682 #82E8F6
split-complementary
#CA82F6 #E8F682 #82F690
monochromatic
#9911ED #B249F2 #CA82F6 #E2BBFA #F3E2FD

Accessibility & contrast

On white

2.61
#CA82F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CA82F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82F6
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82F6#FFFFFF#000000##000000
##CA82F61.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CFA
Deuteranopia (green-blind)
#7BA2F3
Tritanopia (blue-blind)
#C594B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca82f6;
/* rgb */ color: rgb(202, 130, 246);
/* oklch */ color: oklch(72.6% 0.176 311.4);
Tailwind
colors: {
  custom: {
    50: '#dca8f9',
    500: '#ca82f6',
    950: '#000000',
  },
}
SCSS
$custom: #ca82f6;
$custom-light: #dca8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82f6",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 246
  },
  "hsl": {
    "h": 277.241,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.17619,
    "h": 311.4
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA82F6

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

Preview Lab → · Contrast checker → · Palette generator →

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