#CA82F7#CA82F7

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

Color values

HEX#CA82F7
RGBrgb(202, 130, 247)
HSLhsl(277, 88%, 74%)
HSVhsv(277, 47%, 97%)
CMYKcmyk(18.2%, 47.4%, 0%, 3.1%)
CIE-LABlab(65.93, 48.10, -47.94)
CIE-LCHlch(65.93, 67.91, 315.09°)
OKLaboklab(72.62% 0.1165 -0.1336)
OKLCHoklch(72.62% 0.177 311.1)
XYZxyz(49.1252, 35.2381, 92.1914)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA82F7 #AFF782
analogous
#9082F7 #CA82F7 #F782EA
triadic
#CA82F7 #F7CA82 #82F7CA
tetradic
#CA82F7 #F79082 #AFF782 #82EAF7
square
#CA82F7 #F79082 #AFF782 #82EAF7
split-complementary
#CA82F7 #EAF782 #82F790
monochromatic
#990FEF #B248F3 #CA82F7 #E2BCFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.05
#CA82F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA82F7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA82F7#FFFFFF#000000##000000
##CA82F71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#C595B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ca82f7;
/* rgb */ color: rgb(202, 130, 247);
/* oklch */ color: oklch(72.6% 0.177 311.1);
Tailwind
colors: {
  custom: {
    50: '#dca8fa',
    500: '#ca82f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca82f7;
$custom-light: #dca8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca82f7",
  "rgb": {
    "r": 202,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 276.923,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72617,
    "c": 0.17731,
    "h": 311.1
  },
  "luminance": 0.35237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA82F7

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

Preview Lab → · Contrast checker → · Palette generator →

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