#CA8FEE#CA8FEE

#CA8FEE is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.3% C 0.146 H 311.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#CA8FEE
RGBrgb(202, 143, 238)
HSLhsl(277, 74%, 75%)
HSVhsv(277, 40%, 93%)
CMYKcmyk(15.1%, 39.9%, 0%, 6.7%)
CIE-LABlab(68.30, 39.23, -39.30)
CIE-LCHlch(68.30, 55.52, 314.95°)
OKLaboklab(74.25% 0.0971 -0.1087)
OKLCHoklch(74.25% 0.146 311.8)
XYZxyz(49.6095, 38.3754, 85.6661)
Luminance0.3837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FEE #B3EE8F
analogous
#9B8FEE #CA8FEE #EE8FE3
triadic
#CA8FEE #EECA8F #8FEECA
tetradic
#CA8FEE #EE9B8F #B3EE8F #8FE3EE
square
#CA8FEE #EE9B8F #B3EE8F #8FE3EE
split-complementary
#CA8FEE #E3EE8F #8FEE9B
monochromatic
#9825DE #B15AE6 #CA8FEE #E3C4F6 #F2E4FB

Accessibility & contrast

On white

2.42
#CA8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#CA8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FEE
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FEE#FFFFFF#000000##000000
##CA8FEE1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F2
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#C69DB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8fee;
/* rgb */ color: rgb(202, 143, 238);
/* oklch */ color: oklch(74.3% 0.146 311.8);
Tailwind
colors: {
  custom: {
    50: '#dbb1f4',
    500: '#ca8fee',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fee;
$custom-light: #dbb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fee",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 277.263,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74253,
    "c": 0.14576,
    "h": 311.8
  },
  "luminance": 0.38375
}

Semantic roles & 50–950 ramp

primary
#CA8FEE
secondary
#E2F3D8
accent
#D6105B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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