#A239BF#A239BF

#A239BF is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.211 H 318.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A239BF
RGBrgb(162, 57, 191)
HSLhsl(287, 54%, 49%)
HSVhsv(287, 70%, 75%)
CMYKcmyk(15.2%, 70.2%, 0%, 25.1%)
CIE-LABlab(44.76, 61.70, -50.26)
CIE-LCHlch(44.76, 79.58, 320.84°)
OKLaboklab(55.08% 0.1568 -0.141)
OKLCHoklch(55.08% 0.211 318)
XYZxyz(25.7661, 14.3704, 50.6966)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A239BF #56BF39
analogous
#5F39BF #A239BF #BF3999
triadic
#A239BF #BFA239 #39BFA2
tetradic
#A239BF #BF5F39 #56BF39 #3999BF
square
#A239BF #BF5F39 #56BF39 #3999BF
split-complementary
#A239BF #99BF39 #39BF5F
monochromatic
#521D61 #7A2B90 #A239BF #B964D1 #CF93DF

Accessibility & contrast

On white

5.42
#A239BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A239BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A239BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A239BF#FFFFFF#000000##FFFFFF
##A239BF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#A15378
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a239bf;
/* rgb */ color: rgb(162, 57, 191);
/* oklch */ color: oklch(55.1% 0.211 318.0);
Tailwind
colors: {
  custom: {
    50: '#c178d3',
    500: '#a239bf',
    950: '#000000',
  },
}
SCSS
$custom: #a239bf;
$custom-light: #c178d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a239bf",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 287.015,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55084,
    "c": 0.21088,
    "h": 318
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#A239BF
secondary
#98CA8A
accent
#DD4A6A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A239BF

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

Preview Lab → · Contrast checker → · Palette generator →

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