#A239C8#A239C8

#A239C8 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.219 H 315.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A239C8
RGBrgb(162, 57, 200)
HSLhsl(284, 57%, 50%)
HSVhsv(284, 72%, 78%)
CMYKcmyk(19%, 71.5%, 0%, 21.6%)
CIE-LABlab(45.33, 63.47, -54.57)
CIE-LCHlch(45.33, 83.70, 319.31°)
OKLaboklab(55.67% 0.156 -0.1537)
OKLCHoklch(55.67% 0.219 315.4)
XYZxyz(26.7871, 14.7788, 56.0739)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239C8 #5FC839
analogous
#5A39C8 #A239C8 #C839A6
triadic
#A239C8 #C8A239 #39C8A2
tetradic
#A239C8 #C85A39 #5FC839 #39A6C8
square
#A239C8 #C85A39 #5FC839 #39A6C8
split-complementary
#A239C8 #A6C839 #39C85A
monochromatic
#551D69 #7C2B99 #A239C8 #B869D5 #CF99E3

Accessibility & contrast

On white

5.31
#A239C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A239C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239C8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239C8#FFFFFF#000000##FFFFFF
##A239C81.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#9F577D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a239c8;
/* rgb */ color: rgb(162, 57, 200);
/* oklch */ color: oklch(55.7% 0.219 315.4);
Tailwind
colors: {
  custom: {
    50: '#c279d9',
    500: '#a239c8',
    950: '#000000',
  },
}
SCSS
$custom: #a239c8;
$custom-light: #c279d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a239c8",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 284.056,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55673,
    "c": 0.21898,
    "h": 315.4
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#A239C8
secondary
#9FCE8F
accent
#E04870
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239C8

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

Preview Lab → · Contrast checker → · Palette generator →

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