#CA82FE#CA82FE

#CA82FE is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.0% C 0.185 H 309.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CA82FE
RGBrgb(202, 130, 254)
HSLhsl(275, 98%, 75%)
HSVhsv(275, 49%, 100%)
CMYKcmyk(20.5%, 48.8%, 0%, 0.4%)
CIE-LABlab(66.27, 49.61, -51.24)
CIE-LCHlch(66.27, 71.32, 314.07°)
OKLaboklab(72.98% 0.1174 -0.1432)
OKLCHoklch(72.98% 0.185 309.3)
XYZxyz(50.2257, 35.6783, 97.9874)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82FE #B6FE82
analogous
#8C82FE #CA82FE #FE82F4
triadic
#CA82FE #FECA82 #82FECA
tetradic
#CA82FE #FE8C82 #B6FE82 #82F4FE
square
#CA82FE #FE8C82 #B6FE82 #82F4FE
split-complementary
#CA82FE #F4FE82 #82FE8C
monochromatic
#9709FD #B045FE #CA82FE #E4BFFE #F2E1FF

Accessibility & contrast

On white

2.58
#CA82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CA82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82FE
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82FE#FFFFFF#000000##000000
##CA82FE1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#C397B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca82fe;
/* rgb */ color: rgb(202, 130, 254);
/* oklch */ color: oklch(73.0% 0.185 309.3);
Tailwind
colors: {
  custom: {
    50: '#dca8ff',
    500: '#ca82fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca82fe;
$custom-light: #dca8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82fe",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 274.839,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.18516,
    "h": 309.3
  },
  "luminance": 0.35678
}

Semantic roles & 50–950 ramp

primary
#CA82FE
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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