#A230B6#A230B6

#A230B6 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.213 H 321.2°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A230B6
RGBrgb(162, 48, 182)
HSLhsl(291, 58%, 45%)
HSVhsv(291, 74%, 71%)
CMYKcmyk(11%, 73.6%, 0%, 28.6%)
CIE-LABlab(43.02, 63.36, -47.76)
CIE-LCHlch(43.02, 79.35, 322.99°)
OKLaboklab(53.67% 0.1663 -0.1337)
OKLCHoklch(53.67% 0.213 321.2)
XYZxyz(24.3998, 13.1740, 45.5045)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230B6 #44B630
analogous
#5F30B6 #A230B6 #B63087
triadic
#A230B6 #B6A230 #30B6A2
tetradic
#A230B6 #B65F30 #44B630 #3087B6
square
#A230B6 #B65F30 #44B630 #3087B6
split-complementary
#A230B6 #87B630 #30B65F
monochromatic
#4C1655 #772386 #A230B6 #BE52D1 #D082DE

Accessibility & contrast

On white

5.78
#A230B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A230B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230B6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230B6#FFFFFF#000000##FFFFFF
##A230B61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#406AB3
Tritanopia (blue-blind)
#A34A71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a230b6;
/* rgb */ color: rgb(162, 48, 182);
/* oklch */ color: oklch(53.7% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#c174cc',
    500: '#a230b6',
    950: '#000000',
  },
}
SCSS
$custom: #a230b6;
$custom-light: #c174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a230b6",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 291.045,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53668,
    "c": 0.21336,
    "h": 321.2
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#A230B6
secondary
#86C77B
accent
#E1465D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A230B6

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

Preview Lab → · Contrast checker → · Palette generator →

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