#A24FCF#A24FCF

#A24FCF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.6% C 0.197 H 311.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A24FCF
RGBrgb(162, 79, 207)
HSLhsl(279, 57%, 56%)
HSVhsv(279, 62%, 81%)
CMYKcmyk(21.7%, 61.8%, 0%, 18.8%)
CIE-LABlab(49.23, 55.29, -52.35)
CIE-LCHlch(49.23, 76.14, 316.57°)
OKLaboklab(58.61% 0.1313 -0.1473)
OKLCHoklch(58.61% 0.197 311.7)
XYZxyz(28.9567, 17.7790, 60.9257)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FCF #7CCF4F
analogous
#624FCF #A24FCF #CF4FBC
triadic
#A24FCF #CFA24F #4FCFA2
tetradic
#A24FCF #CF624F #7CCF4F #4FBCCF
square
#A24FCF #CF624F #7CCF4F #4FBCCF
split-complementary
#A24FCF #BCCF4F #4FCF62
monochromatic
#602381 #8330B1 #A24FCF #BB7FDC #D5AFE9

Accessibility & contrast

On white

4.61
#A24FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A24FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A24FCF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FCF#FFFFFF#000000##FFFFFF
##A24FCF1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#9D6788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24fcf;
/* rgb */ color: rgb(162, 79, 207);
/* oklch */ color: oklch(58.6% 0.197 311.7);
Tailwind
colors: {
  custom: {
    50: '#c185de',
    500: '#a24fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a24fcf;
$custom-light: #c185de;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fcf",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 278.906,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.19735,
    "h": 311.7
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#A24FCF
secondary
#B5D7A2
accent
#E0477D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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