#CA8FF2#CA8FF2

#CA8FF2 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.150 H 310.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF2
RGBrgb(202, 143, 242)
HSLhsl(276, 79%, 75%)
HSVhsv(276, 41%, 95%)
CMYKcmyk(16.5%, 40.9%, 0%, 5.1%)
CIE-LABlab(68.47, 40.08, -41.22)
CIE-LCHlch(68.47, 57.49, 314.20°)
OKLaboklab(74.44% 0.0979 -0.1142)
OKLCHoklch(74.44% 0.15 310.6)
XYZxyz(50.2037, 38.6131, 88.7955)
Luminance0.3861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF2 #B7F28F
analogous
#988FF2 #CA8FF2 #F28FE8
triadic
#CA8FF2 #F2CA8F #8FF2CA
tetradic
#CA8FF2 #F2988F #B7F28F #8FE8F2
square
#CA8FF2 #F2988F #B7F28F #8FE8F2
split-complementary
#CA8FF2 #E8F28F #8FF298
monochromatic
#9621E5 #B058EC #CA8FF2 #E4C6F8 #F2E4FC

Accessibility & contrast

On white

2.41
#CA8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#CA8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF2#FFFFFF#000000##000000
##CA8FF21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#C69EB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ff2;
/* rgb */ color: rgb(202, 143, 242);
/* oklch */ color: oklch(74.4% 0.150 310.6);
Tailwind
colors: {
  custom: {
    50: '#dbb1f6',
    500: '#ca8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff2;
$custom-light: #dbb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff2",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 275.758,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74441,
    "c": 0.15043,
    "h": 310.6
  },
  "luminance": 0.38612
}

Semantic roles & 50–950 ramp

primary
#CA8FF2
secondary
#E3F4D7
accent
#DB0A5F
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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