#CA8CF8#CA8CF8

#CA8CF8 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.2% C 0.162 H 309.4°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CA8CF8
RGBrgb(202, 140, 248)
HSLhsl(274, 89%, 76%)
HSVhsv(274, 44%, 97%)
CMYKcmyk(18.5%, 43.5%, 0%, 2.7%)
CIE-LABlab(68.09, 42.99, -45.10)
CIE-LCHlch(68.09, 62.31, 313.63°)
OKLaboklab(74.24% 0.1031 -0.1254)
OKLCHoklch(74.24% 0.162 309.4)
XYZxyz(50.6753, 38.0907, 93.4714)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CF8 #BAF88C
analogous
#948CF8 #CA8CF8 #F88CF0
triadic
#CA8CF8 #F8CA8C #8CF8CA
tetradic
#CA8CF8 #F8948C #BAF88C #8CF0F8
square
#CA8CF8 #F8948C #BAF88C #8CF0F8
split-complementary
#CA8CF8 #F0F88C #8CF894
monochromatic
#9519F1 #AF52F4 #CA8CF8 #E5C6FC #F2E2FD

Accessibility & contrast

On white

2.44
#CA8CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#CA8CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CF8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CF8#FFFFFF#000000##000000
##CA8CF81.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#C49DB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8cf8;
/* rgb */ color: rgb(202, 140, 248);
/* oklch */ color: oklch(74.2% 0.162 309.4);
Tailwind
colors: {
  custom: {
    50: '#dcaffb',
    500: '#ca8cf8',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cf8;
$custom-light: #dcaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cf8",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 274.444,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74242,
    "c": 0.16235,
    "h": 309.4
  },
  "luminance": 0.3809
}

Semantic roles & 50–950 ramp

primary
#CA8CF8
secondary
#E3F5D6
accent
#E50062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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