#A24CBC#A24CBC

#A24CBC is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.1% C 0.182 H 317.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A24CBC
RGBrgb(162, 76, 188)
HSLhsl(286, 46%, 52%)
HSVhsv(286, 60%, 74%)
CMYKcmyk(13.8%, 59.6%, 0%, 26.3%)
CIE-LABlab(47.60, 52.75, -43.97)
CIE-LCHlch(47.60, 68.67, 320.19°)
OKLaboklab(57.08% 0.1349 -0.1228)
OKLCHoklch(57.08% 0.182 317.7)
XYZxyz(26.5606, 16.4821, 49.3495)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24CBC #66BC4C
analogous
#6A4CBC #A24CBC #BC4C9E
triadic
#A24CBC #BCA24C #4CBCA2
tetradic
#A24CBC #BC6A4C #66BC4C #4C9EBC
square
#A24CBC #BC6A4C #66BC4C #4C9EBC
split-complementary
#A24CBC #9EBC4C #4CBC6A
monochromatic
#582767 #7E3794 #A24CBC #B979CD #D0A5DD

Accessibility & contrast

On white

4.89
#A24CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A24CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24CBC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24CBC#FFFFFF#000000##FFFFFF
##A24CBC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BC0
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#A15E7D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a24cbc;
/* rgb */ color: rgb(162, 76, 188);
/* oklch */ color: oklch(57.1% 0.182 317.7);
Tailwind
colors: {
  custom: {
    50: '#c083d1',
    500: '#a24cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a24cbc;
$custom-light: #c083d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a24cbc",
  "rgb": {
    "r": 162,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 286.071,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57078,
    "c": 0.18243,
    "h": 317.7
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#A24CBC
secondary
#A5CA99
accent
#D55371
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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