#CA82F2#CA82F2

#CA82F2 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.4% C 0.172 H 312.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CA82F2
RGBrgb(202, 130, 242)
HSLhsl(279, 81%, 73%)
HSVhsv(279, 46%, 95%)
CMYKcmyk(16.5%, 46.3%, 0%, 5.1%)
CIE-LABlab(65.70, 47.03, -45.57)
CIE-LCHlch(65.70, 65.49, 315.91°)
OKLaboklab(72.36% 0.1159 -0.1267)
OKLCHoklch(72.36% 0.172 312.4)
XYZxyz(48.3640, 34.9336, 88.1823)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82F2 #AAF282
analogous
#9282F2 #CA82F2 #F282E2
triadic
#CA82F2 #F2CA82 #82F2CA
tetradic
#CA82F2 #F29282 #AAF282 #82E2F2
square
#CA82F2 #F29282 #AAF282 #82E2F2
split-complementary
#CA82F2 #E2F282 #82F292
monochromatic
#9A18E2 #B24BEC #CA82F2 #E2B9F8 #F3E3FC

Accessibility & contrast

On white

2.63
#CA82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CA82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82F2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82F2#FFFFFF#000000##000000
##CA82F21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#C693AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca82f2;
/* rgb */ color: rgb(202, 130, 242);
/* oklch */ color: oklch(72.4% 0.172 312.4);
Tailwind
colors: {
  custom: {
    50: '#dca8f7',
    500: '#ca82f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca82f2;
$custom-light: #dca8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82f2",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 278.571,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72364,
    "c": 0.17173,
    "h": 312.4
  },
  "luminance": 0.34933
}

Semantic roles & 50–950 ramp

primary
#CA82F2
secondary
#E1F4D7
accent
#DE0854
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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