#CA8FFA#CA8FFA

#CA8FFA is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.8% C 0.160 H 308.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CA8FFA
RGBrgb(202, 143, 250)
HSLhsl(273, 91%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(19.2%, 42.8%, 0%, 2%)
CIE-LABlab(68.83, 41.81, -45.03)
CIE-LCHlch(68.83, 61.45, 312.88°)
OKLaboklab(74.83% 0.0993 -0.1252)
OKLCHoklch(74.83% 0.16 308.4)
XYZxyz(51.4316, 39.1042, 95.2624)
Luminance0.3910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FFA #BFFA8F
analogous
#958FFA #CA8FFA #FA8FF5
triadic
#CA8FFA #FACA8F #8FFACA
tetradic
#CA8FFA #FA958F #BFFA8F #8FF5FA
square
#CA8FFA #FA958F #BFFA8F #8FF5FA
split-complementary
#CA8FFA #F5FA8F #8FFA95
monochromatic
#931AF5 #AE54F7 #CA8FFA #E6CAFD #F1E2FE

Accessibility & contrast

On white

2.38
#CA8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CA8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FFA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FFA#FFFFFF#000000##000000
##CA8FFA1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FE
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#C4A0B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8ffa;
/* rgb */ color: rgb(202, 143, 250);
/* oklch */ color: oklch(74.8% 0.160 308.4);
Tailwind
colors: {
  custom: {
    50: '#dcb1fc',
    500: '#ca8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ffa;
$custom-light: #dcb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ffa",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 273.084,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74826,
    "c": 0.15981,
    "h": 308.4
  },
  "luminance": 0.39104
}

Semantic roles & 50–950 ramp

primary
#CA8FFA
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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