#A24FCC#A24FCC

#A24FCC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.4% C 0.194 H 312.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A24FCC
RGBrgb(162, 79, 204)
HSLhsl(280, 55%, 55%)
HSVhsv(280, 61%, 80%)
CMYKcmyk(20.6%, 61.3%, 0%, 20%)
CIE-LABlab(49.05, 54.64, -50.91)
CIE-LCHlch(49.05, 74.69, 317.03°)
OKLaboklab(58.43% 0.1314 -0.1431)
OKLCHoklch(58.43% 0.194 312.6)
XYZxyz(28.5934, 17.6337, 59.0124)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FCC #79CC4F
analogous
#634FCC #A24FCC #CC4FB7
triadic
#A24FCC #CCA24F #4FCCA2
tetradic
#A24FCC #CC634F #79CC4F #4FB7CC
square
#A24FCC #CC634F #79CC4F #4FB7CC
split-complementary
#A24FCC #B7CC4F #4FCC63
monochromatic
#5F247D #8332AC #A24FCC #BB7EDA #D4AEE7

Accessibility & contrast

On white

4.64
#A24FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A24FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24FCC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FCC#FFFFFF#000000##FFFFFF
##A24FCC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#9E6686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24fcc;
/* rgb */ color: rgb(162, 79, 204);
/* oklch */ color: oklch(58.4% 0.194 312.6);
Tailwind
colors: {
  custom: {
    50: '#c185dc',
    500: '#a24fcc',
    950: '#000000',
  },
}
SCSS
$custom: #a24fcc;
$custom-light: #c185dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fcc",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 279.84,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58426,
    "c": 0.19426,
    "h": 312.6
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#A24FCC
secondary
#B3D5A1
accent
#DE497B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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