#CA7ACC#CA7ACC

#CA7ACC is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.3% C 0.145 H 326.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#CA7ACC
RGBrgb(202, 122, 204)
HSLhsl(299, 45%, 64%)
HSVhsv(299, 40%, 80%)
CMYKcmyk(1%, 40.2%, 0%, 20%)
CIE-LABlab(62.37, 43.69, -29.61)
CIE-LCHlch(62.37, 52.78, 325.87°)
OKLaboklab(69.33% 0.1205 -0.0809)
OKLCHoklch(69.33% 0.145 326.1)
XYZxyz(42.2148, 30.8371, 60.8435)
Luminance0.3084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7ACC #7CCC7A
analogous
#A17ACC #CA7ACC #CC7AA5
triadic
#CA7ACC #CCCA7A #7ACCCA
tetradic
#CA7ACC #CCA17A #7CCC7A #7AA5CC
square
#CA7ACC #CCA17A #7CCC7A #7AA5CC
split-complementary
#CA7ACC #A5CC7A #7ACCA1
monochromatic
#913893 #B84EBB #CA7ACC #DCA6DD #EDD2EE

Accessibility & contrast

On white

2.93
#CA7ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#CA7ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7ACC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7ACC#FFFFFF#000000##000000
##CA7ACC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CF
Deuteranopia (green-blind)
#889AC9
Tritanopia (blue-blind)
#CE829A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7acc;
/* rgb */ color: rgb(202, 122, 204);
/* oklch */ color: oklch(69.3% 0.145 326.1);
Tailwind
colors: {
  custom: {
    50: '#dba2db',
    500: '#ca7acc',
    950: '#000000',
  },
}
SCSS
$custom: #ca7acc;
$custom-light: #dba2db;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7acc",
  "rgb": {
    "r": 202,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 298.537,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69331,
    "c": 0.14513,
    "h": 326.1
  },
  "luminance": 0.30835
}

Semantic roles & 50–950 ramp

primary
#CA7ACC
secondary
#C3DFC3
accent
#B82E31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CA7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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