#CA82F9#CA82F9

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

Color values

HEX#CA82F9
RGBrgb(202, 130, 249)
HSLhsl(276, 91%, 74%)
HSVhsv(276, 48%, 98%)
CMYKcmyk(18.9%, 47.8%, 0%, 2.4%)
CIE-LABlab(66.03, 48.53, -48.89)
CIE-LCHlch(66.03, 68.88, 314.79°)
OKLaboklab(72.72% 0.1168 -0.1364)
OKLCHoklch(72.72% 0.18 310.6)
XYZxyz(49.4355, 35.3622, 93.8255)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82F9 #B1F982
analogous
#8F82F9 #CA82F9 #F982EC
triadic
#CA82F9 #F9CA82 #82F9CA
tetradic
#CA82F9 #F98F82 #B1F982 #82ECF9
square
#CA82F9 #F98F82 #B1F982 #82ECF9
split-complementary
#CA82F9 #ECF982 #82F98F
monochromatic
#980DF3 #B148F6 #CA82F9 #E3BCFC #F3E2FE

Accessibility & contrast

On white

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

On black

8.07
#CA82F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82F9
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82F9#FFFFFF#000000##000000
##CA82F91.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#C495B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca82f9;
/* rgb */ color: rgb(202, 130, 249);
/* oklch */ color: oklch(72.7% 0.180 310.6);
Tailwind
colors: {
  custom: {
    50: '#dca8fc',
    500: '#ca82f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca82f9;
$custom-light: #dca8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82f9",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 249
  },
  "hsl": {
    "h": 276.303,
    "s": 90.84,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7272,
    "c": 0.17955,
    "h": 310.6
  },
  "luminance": 0.35361
}

Semantic roles & 50–950 ramp

primary
#CA82F9
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA82F9

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

Preview Lab → · Contrast checker → · Palette generator →

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