#A230C6#A230C6

#A230C6 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.227 H 316.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A230C6
RGBrgb(162, 48, 198)
HSLhsl(286, 61%, 48%)
HSVhsv(286, 76%, 78%)
CMYKcmyk(18.2%, 75.8%, 0%, 22.4%)
CIE-LABlab(44.05, 66.35, -55.47)
CIE-LCHlch(44.05, 86.48, 320.10°)
OKLaboklab(54.72% 0.1646 -0.1563)
OKLCHoklch(54.72% 0.227 316.5)
XYZxyz(26.1487, 13.8736, 54.7156)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230C6 #54C630
analogous
#5730C6 #A230C6 #C6309F
triadic
#A230C6 #C6A230 #30C6A2
tetradic
#A230C6 #C65730 #54C630 #309FC6
square
#A230C6 #C65730 #54C630 #309FC6
split-complementary
#A230C6 #9FC630 #30C657
monochromatic
#511863 #7A2495 #A230C6 #BA5CD7 #CF8DE3

Accessibility & contrast

On white

5.56
#A230C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A230C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230C6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230C6#FFFFFF#000000##FFFFFF
##A230C61.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CA
Deuteranopia (green-blind)
#306BC3
Tritanopia (blue-blind)
#A0517A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a230c6;
/* rgb */ color: rgb(162, 48, 198);
/* oklch */ color: oklch(54.7% 0.227 316.5);
Tailwind
colors: {
  custom: {
    50: '#c275d8',
    500: '#a230c6',
    950: '#000000',
  },
}
SCSS
$custom: #a230c6;
$custom-light: #c275d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a230c6",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 285.6,
    "s": 60.976,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54724,
    "c": 0.22694,
    "h": 316.5
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#A230C6
secondary
#96CE84
accent
#E4446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130915
muted
#827B83

Preview Lab

Preview with #A230C6

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

Preview Lab → · Contrast checker → · Palette generator →

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