#A24BBB#A24BBB

#A24BBB is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.9% C 0.183 H 318.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A24BBB
RGBrgb(162, 75, 187)
HSLhsl(287, 45%, 51%)
HSVhsv(287, 60%, 73%)
CMYKcmyk(13.4%, 59.9%, 0%, 26.7%)
CIE-LABlab(47.37, 53.03, -43.76)
CIE-LCHlch(47.37, 68.75, 320.47°)
OKLaboklab(56.89% 0.1361 -0.1222)
OKLCHoklch(56.89% 0.183 318.1)
XYZxyz(26.3848, 16.3024, 48.7609)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24BBB #64BB4B
analogous
#6A4BBB #A24BBB #BB4B9C
triadic
#A24BBB #BBA24B #4BBBA2
tetradic
#A24BBB #BB6A4B #64BB4B #4B9CBB
square
#A24BBB #BB6A4B #64BB4B #4B9CBB
split-complementary
#A24BBB #9CBB4B #4BBB6A
monochromatic
#572665 #7E3792 #A24BBB #B977CC #D0A4DD

Accessibility & contrast

On white

4.93
#A24BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A24BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24BBB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24BBB#FFFFFF#000000##FFFFFF
##A24BBB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#A25D7C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a24bbb;
/* rgb */ color: rgb(162, 75, 187);
/* oklch */ color: oklch(56.9% 0.183 318.1);
Tailwind
colors: {
  custom: {
    50: '#c082d0',
    500: '#a24bbb',
    950: '#000000',
  },
}
SCSS
$custom: #a24bbb;
$custom-light: #c082d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a24bbb",
  "rgb": {
    "r": 162,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 286.607,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.18293,
    "h": 318.1
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#A24BBB
secondary
#A3CA98
accent
#D55370
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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