#CA8FF6#CA8FF6

#CA8FF6 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.6% C 0.155 H 309.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF6
RGBrgb(202, 143, 246)
HSLhsl(274, 85%, 76%)
HSVhsv(274, 42%, 96%)
CMYKcmyk(17.9%, 41.9%, 0%, 3.5%)
CIE-LABlab(68.65, 40.94, -43.13)
CIE-LCHlch(68.65, 59.47, 313.51°)
OKLaboklab(74.63% 0.0986 -0.1197)
OKLCHoklch(74.63% 0.155 309.5)
XYZxyz(50.8110, 38.8560, 91.9941)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF6 #BBF68F
analogous
#978FF6 #CA8FF6 #F68FEF
triadic
#CA8FF6 #F6CA8F #8FF6CA
tetradic
#CA8FF6 #F6978F #BBF68F #8FEFF6
square
#CA8FF6 #F6978F #BBF68F #8FEFF6
split-complementary
#CA8FF6 #EFF68F #8FF697
monochromatic
#941EED #AF56F1 #CA8FF6 #E5C8FB #F2E3FD

Accessibility & contrast

On white

2.39
#CA8FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CA8FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF6
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF6#FFFFFF#000000##000000
##CA8FF61.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FA
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#C59FB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ff6;
/* rgb */ color: rgb(202, 143, 246);
/* oklch */ color: oklch(74.6% 0.155 309.5);
Tailwind
colors: {
  custom: {
    50: '#dcb1f9',
    500: '#ca8ff6',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff6;
$custom-light: #dcb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff6",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 274.369,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74632,
    "c": 0.15511,
    "h": 309.5
  },
  "luminance": 0.38855
}

Semantic roles & 50–950 ramp

primary
#CA8FF6
secondary
#E3F5D6
accent
#E20463
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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