#CA80F2#CA80F2

#CA80F2 is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.175 H 312.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#CA80F2
RGBrgb(202, 128, 242)
HSLhsl(279, 81%, 73%)
HSVhsv(279, 47%, 95%)
CMYKcmyk(16.5%, 47.1%, 0%, 5.1%)
CIE-LABlab(65.28, 48.09, -46.22)
CIE-LCHlch(65.28, 66.70, 316.14°)
OKLaboklab(72.06% 0.1186 -0.1286)
OKLCHoklch(72.06% 0.175 312.7)
XYZxyz(48.1006, 34.4068, 88.0945)
Luminance0.3441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA80F2 #A8F280
analogous
#9180F2 #CA80F2 #F280E1
triadic
#CA80F2 #F2CA80 #80F2CA
tetradic
#CA80F2 #F29180 #A8F280 #80E1F2
square
#CA80F2 #F29180 #A8F280 #80E1F2
split-complementary
#CA80F2 #E1F280 #80F291
monochromatic
#9A17E1 #B348EC #CA80F2 #E1B8F8 #F3E3FC

Accessibility & contrast

On white

2.66
#CA80F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#CA80F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA80F2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA80F2#FFFFFF#000000##000000
##CA80F21.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF6
Deuteranopia (green-blind)
#7CA0EF
Tritanopia (blue-blind)
#C692AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca80f2;
/* rgb */ color: rgb(202, 128, 242);
/* oklch */ color: oklch(72.1% 0.175 312.7);
Tailwind
colors: {
  custom: {
    50: '#dca7f7',
    500: '#ca80f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca80f2;
$custom-light: #dca7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca80f2",
  "rgb": {
    "r": 202,
    "g": 128,
    "b": 242
  },
  "hsl": {
    "h": 278.947,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72056,
    "c": 0.17495,
    "h": 312.7
  },
  "luminance": 0.34406
}

Semantic roles & 50–950 ramp

primary
#CA80F2
secondary
#E1F4D7
accent
#DE0853
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA80F2

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

Preview Lab → · Contrast checker → · Palette generator →

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