#CA82FB#CA82FB

#CA82FB is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.182 H 310.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CA82FB
RGBrgb(202, 130, 251)
HSLhsl(276, 94%, 75%)
HSVhsv(276, 48%, 98%)
CMYKcmyk(19.5%, 48.2%, 0%, 1.6%)
CIE-LABlab(66.13, 48.96, -49.83)
CIE-LCHlch(66.13, 69.86, 314.49°)
OKLaboklab(72.82% 0.117 -0.1391)
OKLCHoklch(72.82% 0.182 310.1)
XYZxyz(49.7491, 35.4877, 95.4771)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82FB #B3FB82
analogous
#8D82FB #CA82FB #FB82F0
triadic
#CA82FB #FBCA82 #82FBCA
tetradic
#CA82FB #FB8D82 #B3FB82 #82F0FB
square
#CA82FB #FB8D82 #B3FB82 #82F0FB
split-complementary
#CA82FB #F0FB82 #82FB8D
monochromatic
#980BF7 #B147F9 #CA82FB #E3BDFD #F2E1FE

Accessibility & contrast

On white

2.59
#CA82FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#CA82FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82FB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82FB#FFFFFF#000000##000000
##CA82FB1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#C496B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca82fb;
/* rgb */ color: rgb(202, 130, 251);
/* oklch */ color: oklch(72.8% 0.182 310.1);
Tailwind
colors: {
  custom: {
    50: '#dca8fd',
    500: '#ca82fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca82fb;
$custom-light: #dca8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82fb",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 275.702,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.18179,
    "h": 310.1
  },
  "luminance": 0.35487
}

Semantic roles & 50–950 ramp

primary
#CA82FB
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA82FB

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

Preview Lab → · Contrast checker → · Palette generator →

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