#A24FBC#A24FBC

#A24FBC is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.178 H 317.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A24FBC
RGBrgb(162, 79, 188)
HSLhsl(286, 45%, 52%)
HSVhsv(286, 58%, 74%)
CMYKcmyk(13.8%, 58%, 0%, 26.3%)
CIE-LABlab(48.14, 51.29, -43.11)
CIE-LCHlch(48.14, 67.00, 319.95°)
OKLaboklab(57.47% 0.1311 -0.1203)
OKLCHoklch(57.47% 0.178 317.4)
XYZxyz(26.7721, 16.9052, 49.4200)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FBC #69BC4F
analogous
#6C4FBC #A24FBC #BC4FA0
triadic
#A24FBC #BCA24F #4FBCA2
tetradic
#A24FBC #BC6C4F #69BC4F #4FA0BC
square
#A24FBC #BC6C4F #69BC4F #4FA0BC
split-complementary
#A24FBC #A0BC4F #4FBC6C
monochromatic
#592869 #7F3995 #A24FBC #B97BCD #D1A8DE

Accessibility & contrast

On white

4.79
#A24FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A24FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A24FBC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FBC#FFFFFF#000000##FFFFFF
##A24FBC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DBF
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#A1617E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a24fbc;
/* rgb */ color: rgb(162, 79, 188);
/* oklch */ color: oklch(57.5% 0.178 317.4);
Tailwind
colors: {
  custom: {
    50: '#c084d1',
    500: '#a24fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a24fbc;
$custom-light: #c084d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fbc",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 285.688,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.17792,
    "h": 317.4
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#A24FBC
secondary
#A7CB9C
accent
#D55372
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A24FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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