#A239CC#A239CC

#A239CC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.223 H 314.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A239CC
RGBrgb(162, 57, 204)
HSLhsl(283, 59%, 51%)
HSVhsv(283, 72%, 80%)
CMYKcmyk(20.6%, 72.1%, 0%, 20%)
CIE-LABlab(45.59, 64.26, -56.46)
CIE-LCHlch(45.59, 85.54, 318.70°)
OKLaboklab(55.94% 0.1555 -0.1592)
OKLCHoklch(55.94% 0.223 314.3)
XYZxyz(27.2607, 14.9682, 58.5682)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239CC #63CC39
analogous
#5839CC #A239CC #CC39AC
triadic
#A239CC #CCA239 #39CCA2
tetradic
#A239CC #CC5839 #63CC39 #39ACCC
square
#A239CC #CC5839 #63CC39 #39ACCC
split-complementary
#A239CC #ACCC39 #39CC58
monochromatic
#571C6E #7D299F #A239CC #B96AD9 #D09AE5

Accessibility & contrast

On white

5.26
#A239CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A239CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239CC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239CC#FFFFFF#000000##FFFFFF
##A239CC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#316EC9
Tritanopia (blue-blind)
#9E597F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a239cc;
/* rgb */ color: rgb(162, 57, 204);
/* oklch */ color: oklch(55.9% 0.223 314.3);
Tailwind
colors: {
  custom: {
    50: '#c279dc',
    500: '#a239cc',
    950: '#000000',
  },
}
SCSS
$custom: #a239cc;
$custom-light: #c279dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a239cc",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 282.857,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.2226,
    "h": 314.3
  },
  "luminance": 0.14967
}

Semantic roles & 50–950 ramp

primary
#A239CC
secondary
#A2D190
accent
#E24672
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239CC

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

Preview Lab → · Contrast checker → · Palette generator →

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