#CA8FF4#CA8FF4

#CA8FF4 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.5% C 0.153 H 310.0°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF4
RGBrgb(202, 143, 244)
HSLhsl(275, 82%, 76%)
HSVhsv(275, 41%, 96%)
CMYKcmyk(17.2%, 41.4%, 0%, 4.3%)
CIE-LABlab(68.56, 40.51, -42.18)
CIE-LCHlch(68.56, 58.48, 313.85°)
OKLaboklab(74.54% 0.0982 -0.117)
OKLCHoklch(74.54% 0.153 310)
XYZxyz(50.5057, 38.7339, 90.3862)
Luminance0.3873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF4 #B9F48F
analogous
#978FF4 #CA8FF4 #F48FEB
triadic
#CA8FF4 #F4CA8F #8FF4CA
tetradic
#CA8FF4 #F4978F #B9F48F #8FEBF4
square
#CA8FF4 #F4978F #B9F48F #8FEBF4
split-complementary
#CA8FF4 #EBF48F #8FF497
monochromatic
#9520E9 #B057EF #CA8FF4 #E4C7F9 #F2E3FC

Accessibility & contrast

On white

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

On black

8.75
#CA8FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF4#FFFFFF#000000##000000
##CA8FF41.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F8
Deuteranopia (green-blind)
#88A8F1
Tritanopia (blue-blind)
#C59EB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ff4;
/* rgb */ color: rgb(202, 143, 244);
/* oklch */ color: oklch(74.5% 0.153 310.0);
Tailwind
colors: {
  custom: {
    50: '#dcb1f8',
    500: '#ca8ff4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff4;
$custom-light: #dcb1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff4",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 275.05,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74536,
    "c": 0.15277,
    "h": 310
  },
  "luminance": 0.38733
}

Semantic roles & 50–950 ramp

primary
#CA8FF4
secondary
#E3F4D7
accent
#DF0761
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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