#A24FEA#A24FEA

#A24FEA is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.225 H 305.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A24FEA
RGBrgb(162, 79, 234)
HSLhsl(272, 79%, 61%)
HSVhsv(272, 66%, 92%)
CMYKcmyk(30.8%, 66.2%, 0%, 8.2%)
CIE-LABlab(50.94, 61.28, -64.93)
CIE-LCHlch(50.94, 89.28, 313.34°)
OKLaboklab(60.39% 0.1296 -0.1842)
OKLCHoklch(60.39% 0.225 305.1)
XYZxyz(32.5443, 19.2141, 79.8201)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FEA #97EA4F
analogous
#554FEA #A24FEA #EA4FE5
triadic
#A24FEA #EAA24F #4FEAA2
tetradic
#A24FEA #EA554F #97EA4F #4FE5EA
square
#A24FEA #EA554F #97EA4F #4FE5EA
split-complementary
#A24FEA #E5EA4F #4FEA55
monochromatic
#6514AA #851BE1 #A24FEA #BF86F1 #DCBCF7

Accessibility & contrast

On white

4.34
#A24FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A24FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FEA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FEA#FFFFFF#000000##000000
##A24FEA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#1D79E7
Tritanopia (blue-blind)
#957196
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a24fea;
/* rgb */ color: rgb(162, 79, 234);
/* oklch */ color: oklch(60.4% 0.225 305.1);
Tailwind
colors: {
  custom: {
    50: '#c286f2',
    500: '#a24fea',
    950: '#000000',
  },
}
SCSS
$custom: #a24fea;
$custom-light: #c286f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fea",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 272.129,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6039,
    "c": 0.22527,
    "h": 305.1
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#A24FEA
secondary
#C8E7AD
accent
#DB0B6B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A24FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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