#CA8CF3#CA8CF3

#CA8CF3 is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.0% C 0.157 H 310.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CA8CF3
RGBrgb(202, 140, 243)
HSLhsl(276, 81%, 75%)
HSVhsv(276, 42%, 95%)
CMYKcmyk(16.9%, 42.4%, 0%, 4.7%)
CIE-LABlab(67.86, 41.91, -42.72)
CIE-LCHlch(67.86, 59.85, 314.45°)
OKLaboklab(74% 0.1022 -0.1185)
OKLCHoklch(74% 0.157 310.8)
XYZxyz(49.9100, 37.7846, 89.4406)
Luminance0.3778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CF3 #B5F38C
analogous
#978CF3 #CA8CF3 #F38CE8
triadic
#CA8CF3 #F3CA8C #8CF3CA
tetradic
#CA8CF3 #F3978C #B5F38C #8CE8F3
square
#CA8CF3 #F3978C #B5F38C #8CE8F3
split-complementary
#CA8CF3 #E8F38C #8CF397
monochromatic
#971DE7 #B055ED #CA8CF3 #E4C3F9 #F2E3FC

Accessibility & contrast

On white

2.45
#CA8CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CA8CF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CF3
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CF3#FFFFFF#000000##000000
##CA8CF31.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F7
Deuteranopia (green-blind)
#86A7F0
Tritanopia (blue-blind)
#C59BB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8cf3;
/* rgb */ color: rgb(202, 140, 243);
/* oklch */ color: oklch(74.0% 0.157 310.8);
Tailwind
colors: {
  custom: {
    50: '#dcaff7',
    500: '#ca8cf3',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cf3;
$custom-light: #dcaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cf3",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 243
  },
  "hsl": {
    "h": 276.117,
    "s": 81.102,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73998,
    "c": 0.15654,
    "h": 310.8
  },
  "luminance": 0.37784
}

Semantic roles & 50–950 ramp

primary
#CA8CF3
secondary
#E3F4D7
accent
#DD085D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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