#A239CD#A239CD

#A239CD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.224 H 314.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A239CD
RGBrgb(162, 57, 205)
HSLhsl(283, 60%, 51%)
HSVhsv(283, 72%, 80%)
CMYKcmyk(21%, 72.2%, 0%, 19.6%)
CIE-LABlab(45.66, 64.46, -56.93)
CIE-LCHlch(45.66, 86.00, 318.55°)
OKLaboklab(56.01% 0.1554 -0.1606)
OKLCHoklch(56.01% 0.224 314.1)
XYZxyz(27.3810, 15.0163, 59.2019)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239CD #64CD39
analogous
#5839CD #A239CD #CD39AE
triadic
#A239CD #CDA239 #39CDA2
tetradic
#A239CD #CD5839 #64CD39 #39AECD
square
#A239CD #CD5839 #64CD39 #39AECD
split-complementary
#A239CD #AECD39 #39CD58
monochromatic
#571C6F #7E28A0 #A239CD #B96AD9 #D09BE6

Accessibility & contrast

On white

5.25
#A239CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A239CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239CD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239CD#FFFFFF#000000##FFFFFF
##A239CD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#9E5980
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a239cd;
/* rgb */ color: rgb(162, 57, 205);
/* oklch */ color: oklch(56.0% 0.224 314.1);
Tailwind
colors: {
  custom: {
    50: '#c279dd',
    500: '#a239cd',
    950: '#000000',
  },
}
SCSS
$custom: #a239cd;
$custom-light: #c279dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a239cd",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 282.568,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.22351,
    "h": 314.1
  },
  "luminance": 0.15015
}

Semantic roles & 50–950 ramp

primary
#A239CD
secondary
#A3D290
accent
#E34573
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A239CD

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

Preview Lab → · Contrast checker → · Palette generator →

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