#CA8FF5#CA8FF5

#CA8FF5 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.6% C 0.154 H 309.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF5
RGBrgb(202, 143, 245)
HSLhsl(275, 84%, 76%)
HSVhsv(275, 42%, 96%)
CMYKcmyk(17.6%, 41.6%, 0%, 3.9%)
CIE-LABlab(68.60, 40.72, -42.65)
CIE-LCHlch(68.60, 58.97, 313.68°)
OKLaboklab(74.58% 0.0984 -0.1184)
OKLCHoklch(74.58% 0.154 309.7)
XYZxyz(50.6580, 38.7948, 91.1880)
Luminance0.3879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF5 #BAF58F
analogous
#978FF5 #CA8FF5 #F58FED
triadic
#CA8FF5 #F5CA8F #8FF5CA
tetradic
#CA8FF5 #F5978F #BAF58F #8FEDF5
square
#CA8FF5 #F5978F #BAF58F #8FEDF5
split-complementary
#CA8FF5 #EDF58F #8FF597
monochromatic
#951FEB #AF57F0 #CA8FF5 #E5C7FA #F2E3FC

Accessibility & contrast

On white

2.40
#CA8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CA8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF5
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF5#FFFFFF#000000##000000
##CA8FF51.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5F9
Deuteranopia (green-blind)
#88A8F2
Tritanopia (blue-blind)
#C59EB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ff5;
/* rgb */ color: rgb(202, 143, 245);
/* oklch */ color: oklch(74.6% 0.154 309.7);
Tailwind
colors: {
  custom: {
    50: '#dcb1f9',
    500: '#ca8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff5;
$custom-light: #dcb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff5",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 274.706,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74584,
    "c": 0.15394,
    "h": 309.7
  },
  "luminance": 0.38794
}

Semantic roles & 50–950 ramp

primary
#CA8FF5
secondary
#E3F4D7
accent
#E00562
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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