#CA80F1#CA80F1

#CA80F1 is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.0% C 0.174 H 313.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CA80F1
RGBrgb(202, 128, 241)
HSLhsl(279, 80%, 72%)
HSVhsv(279, 47%, 95%)
CMYKcmyk(16.2%, 46.9%, 0%, 5.5%)
CIE-LABlab(65.24, 47.88, -45.74)
CIE-LCHlch(65.24, 66.22, 316.31°)
OKLaboklab(72.01% 0.1185 -0.1272)
OKLCHoklch(72.01% 0.174 313)
XYZxyz(47.9508, 34.3468, 87.3057)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA80F1 #A7F180
analogous
#9280F1 #CA80F1 #F180E0
triadic
#CA80F1 #F1CA80 #80F1CA
tetradic
#CA80F1 #F19280 #A7F180 #80E0F1
square
#CA80F1 #F19280 #A7F180 #80E0F1
split-complementary
#CA80F1 #E0F180 #80F192
monochromatic
#9A18DE #B349EB #CA80F1 #E1B7F7 #F3E3FC

Accessibility & contrast

On white

2.67
#CA80F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CA80F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA80F1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA80F1#FFFFFF#000000##000000
##CA80F11.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#7CA0EE
Tritanopia (blue-blind)
#C691AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ca80f1;
/* rgb */ color: rgb(202, 128, 241);
/* oklch */ color: oklch(72.0% 0.174 313.0);
Tailwind
colors: {
  custom: {
    50: '#dca7f6',
    500: '#ca80f1',
    950: '#000000',
  },
}
SCSS
$custom: #ca80f1;
$custom-light: #dca7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca80f1",
  "rgb": {
    "r": 202,
    "g": 128,
    "b": 241
  },
  "hsl": {
    "h": 279.292,
    "s": 80.142,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72006,
    "c": 0.17385,
    "h": 313
  },
  "luminance": 0.34346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA80F1

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

Preview Lab → · Contrast checker → · Palette generator →

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