#CA8EFA#CA8EFA

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

Color values

HEX#CA8EFA
RGBrgb(202, 142, 250)
HSLhsl(273, 92%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(19.2%, 43.2%, 0%, 2%)
CIE-LABlab(68.61, 42.35, -45.37)
CIE-LCHlch(68.61, 62.07, 313.03°)
OKLaboklab(74.66% 0.1006 -0.1262)
OKLCHoklch(74.66% 0.161 308.6)
XYZxyz(51.2822, 38.8053, 95.2126)
Luminance0.3881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EFA #BEFA8E
analogous
#948EFA #CA8EFA #FA8EF4
triadic
#CA8EFA #FACA8E #8EFACA
tetradic
#CA8EFA #FA948E #BEFA8E #8EF4FA
square
#CA8EFA #FA948E #BEFA8E #8EF4FA
split-complementary
#CA8EFA #F4FA8E #8EFA94
monochromatic
#9319F5 #AF53F7 #CA8EFA #E5C9FD #F1E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA8EFA#FFFFFF#000000##000000
##CA8EFA1.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)
#75A5FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#C49FB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8efa;
/* rgb */ color: rgb(202, 142, 250);
/* oklch */ color: oklch(74.7% 0.161 308.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0fc',
    500: '#ca8efa',
    950: '#000000',
  },
}
SCSS
$custom: #ca8efa;
$custom-light: #dcb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8efa",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 273.333,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74663,
    "c": 0.16143,
    "h": 308.6
  },
  "luminance": 0.38805
}

Semantic roles & 50–950 ramp

primary
#CA8EFA
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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