#CA8CF2#CA8CF2

#CA8CF2 is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.0% C 0.155 H 311.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CA8CF2
RGBrgb(202, 140, 242)
HSLhsl(276, 80%, 75%)
HSVhsv(276, 42%, 95%)
CMYKcmyk(16.5%, 42.1%, 0%, 5.1%)
CIE-LABlab(67.82, 41.70, -42.24)
CIE-LCHlch(67.82, 59.35, 314.63°)
OKLaboklab(73.95% 0.1021 -0.1172)
OKLCHoklch(73.95% 0.155 311.1)
XYZxyz(49.7594, 37.7244, 88.6474)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CF2 #B4F28C
analogous
#978CF2 #CA8CF2 #F28CE7
triadic
#CA8CF2 #F2CA8C #8CF2CA
tetradic
#CA8CF2 #F2978C #B4F28C #8CE7F2
square
#CA8CF2 #F2978C #B4F28C #8CE7F2
split-complementary
#CA8CF2 #E7F28C #8CF297
monochromatic
#971EE6 #B155EC #CA8CF2 #E3C3F8 #F2E4FC

Accessibility & contrast

On white

2.46
#CA8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CA8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CF2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CF2#FFFFFF#000000##000000
##CA8CF21.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#86A7EF
Tritanopia (blue-blind)
#C69BB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8cf2;
/* rgb */ color: rgb(202, 140, 242);
/* oklch */ color: oklch(74.0% 0.155 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcaff6',
    500: '#ca8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cf2;
$custom-light: #dcaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cf2",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 276.471,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7395,
    "c": 0.15539,
    "h": 311.1
  },
  "luminance": 0.37724
}

Semantic roles & 50–950 ramp

primary
#CA8CF2
secondary
#E2F4D7
accent
#DC0A5C
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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