#A6239C#A6239C

#A6239C is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.208 H 331.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A6239C
RGBrgb(166, 35, 156)
HSLhsl(305, 65%, 39%)
HSVhsv(305, 79%, 65%)
CMYKcmyk(0%, 78.9%, 6%, 34.9%)
CIE-LABlab(40.75, 63.89, -35.85)
CIE-LCHlch(40.75, 73.26, 330.70°)
OKLaboklab(51.69% 0.1829 -0.0988)
OKLCHoklch(51.69% 0.208 331.6)
XYZxyz(22.3277, 11.7112, 32.5306)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6239C #23A62D
analogous
#6F23A6 #A6239C #A6235B
triadic
#A6239C #9CA623 #239CA6
tetradic
#A6239C #A66F23 #23A62D #235BA6
square
#A6239C #A66F23 #23A62D #235BA6
split-complementary
#A6239C #5BA623 #23A66F
monochromatic
#410E3D #73186D #A6239C #D432C8 #DF65D5

Accessibility & contrast

On white

6.28
#A6239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A6239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6239C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6239C#FFFFFF#000000##FFFFFF
##A6239C1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15559F
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#AD345F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6239c;
/* rgb */ color: rgb(166, 35, 156);
/* oklch */ color: oklch(51.7% 0.208 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a6239c',
    950: '#000000',
  },
}
SCSS
$custom: #a6239c;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6239c",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 304.58,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.20788,
    "h": 331.6
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#A6239C
secondary
#61C468
accent
#E84D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6239C

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

Preview Lab → · Contrast checker → · Palette generator →

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