#A230C4#A230C4

#A230C4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.225 H 317.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A230C4
RGBrgb(162, 48, 196)
HSLhsl(286, 61%, 48%)
HSVhsv(286, 76%, 77%)
CMYKcmyk(17.3%, 75.5%, 0%, 23.1%)
CIE-LABlab(43.92, 65.97, -54.52)
CIE-LCHlch(43.92, 85.58, 320.43°)
OKLaboklab(54.59% 0.1648 -0.1535)
OKLCHoklch(54.59% 0.225 317)
XYZxyz(25.9196, 13.7819, 53.5087)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230C4 #52C430
analogous
#5830C4 #A230C4 #C4309C
triadic
#A230C4 #C4A230 #30C4A2
tetradic
#A230C4 #C45830 #52C430 #309CC4
square
#A230C4 #C45830 #52C430 #309CC4
split-complementary
#A230C4 #9CC430 #30C458
monochromatic
#511862 #792493 #A230C4 #BA5AD7 #CF8CE3

Accessibility & contrast

On white

5.59
#A230C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A230C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230C4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230C4#FFFFFF#000000##FFFFFF
##A230C41.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#326BC1
Tritanopia (blue-blind)
#A05079
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a230c4;
/* rgb */ color: rgb(162, 48, 196);
/* oklch */ color: oklch(54.6% 0.225 317.0);
Tailwind
colors: {
  custom: {
    50: '#c275d7',
    500: '#a230c4',
    950: '#000000',
  },
}
SCSS
$custom: #a230c4;
$custom-light: #c275d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a230c4",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 286.216,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54588,
    "c": 0.22522,
    "h": 317
  },
  "luminance": 0.13781
}

Semantic roles & 50–950 ramp

primary
#A230C4
secondary
#94CD83
accent
#E44469
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A230C4

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

Preview Lab → · Contrast checker → · Palette generator →

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