#A6239B#A6239B

#A6239B is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.207 H 332.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A6239B
RGBrgb(166, 35, 155)
HSLhsl(305, 65%, 39%)
HSVhsv(305, 79%, 65%)
CMYKcmyk(0%, 78.9%, 6.6%, 34.9%)
CIE-LABlab(40.70, 63.73, -35.33)
CIE-LCHlch(40.70, 72.87, 330.99°)
OKLaboklab(51.63% 0.1829 -0.0973)
OKLCHoklch(51.63% 0.207 332)
XYZxyz(22.2434, 11.6775, 32.0865)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6239B #23A62E
analogous
#7023A6 #A6239B #A6235A
triadic
#A6239B #9BA623 #239BA6
tetradic
#A6239B #A67023 #23A62E #235AA6
square
#A6239B #A67023 #23A62E #235AA6
split-complementary
#A6239B #5AA623 #23A670
monochromatic
#410E3D #73186C #A6239B #D432C6 #DF65D4

Accessibility & contrast

On white

6.30
#A6239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6239B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6239B#FFFFFF#000000##FFFFFF
##A6239B1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#AD345E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a6239b;
/* rgb */ color: rgb(166, 35, 155);
/* oklch */ color: oklch(51.6% 0.207 332.0);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a6239b',
    950: '#000000',
  },
}
SCSS
$custom: #a6239b;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6239b",
  "rgb": {
    "r": 166,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 305.038,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.20715,
    "h": 332
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#A6239B
secondary
#61C469
accent
#E84E40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A6239B

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

Preview Lab → · Contrast checker → · Palette generator →

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