#CA8CF4#CA8CF4

#CA8CF4 is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.0% C 0.158 H 310.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CA8CF4
RGBrgb(202, 140, 244)
HSLhsl(276, 83%, 75%)
HSVhsv(276, 43%, 96%)
CMYKcmyk(17.2%, 42.6%, 0%, 4.3%)
CIE-LABlab(67.91, 42.13, -43.20)
CIE-LCHlch(67.91, 60.34, 314.28°)
OKLaboklab(74.05% 0.1024 -0.1199)
OKLCHoklch(74.05% 0.158 310.5)
XYZxyz(50.0614, 37.8452, 90.2380)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CF4 #B6F48C
analogous
#968CF4 #CA8CF4 #F48CEA
triadic
#CA8CF4 #F4CA8C #8CF4CA
tetradic
#CA8CF4 #F4968C #B6F48C #8CEAF4
square
#CA8CF4 #F4968C #B6F48C #8CEAF4
split-complementary
#CA8CF4 #EAF48C #8CF496
monochromatic
#971CE9 #B054EF #CA8CF4 #E4C4F9 #F2E3FC

Accessibility & contrast

On white

2.45
#CA8CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CA8CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CF4
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CF4#FFFFFF#000000##000000
##CA8CF41.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F8
Deuteranopia (green-blind)
#85A7F1
Tritanopia (blue-blind)
#C59CB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8cf4;
/* rgb */ color: rgb(202, 140, 244);
/* oklch */ color: oklch(74.0% 0.158 310.5);
Tailwind
colors: {
  custom: {
    50: '#dcaff8',
    500: '#ca8cf4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cf4;
$custom-light: #dcaff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cf4",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 244
  },
  "hsl": {
    "h": 275.769,
    "s": 82.54,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74047,
    "c": 0.1577,
    "h": 310.5
  },
  "luminance": 0.37844
}

Semantic roles & 50–950 ramp

primary
#CA8CF4
secondary
#E3F4D7
accent
#DF075E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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