#CA8CF9#CA8CF9

#CA8CF9 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.3% C 0.164 H 309.1°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CA8CF9
RGBrgb(202, 140, 249)
HSLhsl(274, 90%, 76%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(18.9%, 43.8%, 0%, 2.4%)
CIE-LABlab(68.13, 43.21, -45.58)
CIE-LCHlch(68.13, 62.80, 313.47°)
OKLaboklab(74.29% 0.1032 -0.1268)
OKLCHoklch(74.29% 0.164 309.1)
XYZxyz(50.8309, 38.1530, 94.2906)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CF9 #BBF98C
analogous
#948CF9 #CA8CF9 #F98CF2
triadic
#CA8CF9 #F9CA8C #8CF9CA
tetradic
#CA8CF9 #F9948C #BBF98C #8CF2F9
square
#CA8CF9 #F9948C #BBF98C #8CF2F9
split-complementary
#CA8CF9 #F2F98C #8CF994
monochromatic
#9418F3 #AF52F6 #CA8CF9 #E5C6FC #F2E2FD

Accessibility & contrast

On white

2.43
#CA8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CA8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CF9
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CF9#FFFFFF#000000##000000
##CA8CF91.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#C49DB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8cf9;
/* rgb */ color: rgb(202, 140, 249);
/* oklch */ color: oklch(74.3% 0.164 309.1);
Tailwind
colors: {
  custom: {
    50: '#dcaffb',
    500: '#ca8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cf9;
$custom-light: #dcaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cf9",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 274.128,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74291,
    "c": 0.16351,
    "h": 309.1
  },
  "luminance": 0.38152
}

Semantic roles & 50–950 ramp

primary
#CA8CF9
secondary
#E3F6D5
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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