#A24ECF#A24ECF

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

Color values

HEX#A24ECF
RGBrgb(162, 78, 207)
HSLhsl(279, 57%, 56%)
HSVhsv(279, 62%, 81%)
CMYKcmyk(21.7%, 62.3%, 0%, 18.8%)
CIE-LABlab(49.05, 55.77, -52.63)
CIE-LCHlch(49.05, 76.68, 316.66°)
OKLaboklab(58.49% 0.1325 -0.1481)
OKLCHoklch(58.49% 0.199 311.8)
XYZxyz(28.8851, 17.6359, 60.9018)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24ECF #7BCF4E
analogous
#614ECF #A24ECF #CF4EBB
triadic
#A24ECF #CFA24E #4ECFA2
tetradic
#A24ECF #CF614E #7BCF4E #4EBBCF
square
#A24ECF #CF614E #7BCF4E #4EBBCF
split-complementary
#A24ECF #BBCF4E #4ECF61
monochromatic
#5F2380 #8330B0 #A24ECF #BB7EDC #D5AEE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A24ECF#FFFFFF#000000##FFFFFF
##A24ECF1.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)
#1570D3
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#9D6787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a24ecf;
/* rgb */ color: rgb(162, 78, 207);
/* oklch */ color: oklch(58.5% 0.199 311.8);
Tailwind
colors: {
  custom: {
    50: '#c184de',
    500: '#a24ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a24ecf;
$custom-light: #c184de;
$custom-dark: #000000;
JSON
{
  "hex": "#a24ecf",
  "rgb": {
    "r": 162,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 279.07,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.19876,
    "h": 311.8
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#A24ECF
secondary
#B4D7A2
accent
#E1477D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A24ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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