#A230C2#A230C2

#A230C2 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.224 H 317.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A230C2
RGBrgb(162, 48, 194)
HSLhsl(287, 60%, 47%)
HSVhsv(287, 75%, 76%)
CMYKcmyk(16.5%, 75.3%, 0%, 23.9%)
CIE-LABlab(43.79, 65.59, -53.57)
CIE-LCHlch(43.79, 84.69, 320.76°)
OKLaboklab(54.45% 0.1651 -0.1507)
OKLCHoklch(54.45% 0.224 317.6)
XYZxyz(25.6934, 13.6915, 52.3178)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230C2 #50C230
analogous
#5930C2 #A230C2 #C23099
triadic
#A230C2 #C2A230 #30C2A2
tetradic
#A230C2 #C25930 #50C230 #3099C2
square
#A230C2 #C25930 #50C230 #3099C2
split-complementary
#A230C2 #99C230 #30C259
monochromatic
#501860 #792491 #A230C2 #BB59D6 #CF8AE2

Accessibility & contrast

On white

5.62
#A230C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A230C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230C2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230C2#FFFFFF#000000##FFFFFF
##A230C21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#A14F77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a230c2;
/* rgb */ color: rgb(162, 48, 194);
/* oklch */ color: oklch(54.5% 0.224 317.6);
Tailwind
colors: {
  custom: {
    50: '#c274d5',
    500: '#a230c2',
    950: '#000000',
  },
}
SCSS
$custom: #a230c2;
$custom-light: #c274d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a230c2",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 286.849,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54453,
    "c": 0.22352,
    "h": 317.6
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#A230C2
secondary
#92CC82
accent
#E34467
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A230C2

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

Preview Lab → · Contrast checker → · Palette generator →

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