#A23FC2#A23FC2

#A23FC2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 55.9% C 0.206 H 316.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A23FC2
RGBrgb(162, 63, 194)
HSLhsl(285, 52%, 50%)
HSVhsv(285, 68%, 76%)
CMYKcmyk(16.5%, 67.5%, 0%, 23.9%)
CIE-LABlab(45.82, 59.84, -50.31)
CIE-LCHlch(45.82, 78.18, 319.95°)
OKLaboklab(55.9% 0.1502 -0.1412)
OKLCHoklch(55.9% 0.206 316.8)
XYZxyz(26.4140, 15.1325, 52.5580)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FC2 #5FC23F
analogous
#613FC2 #A23FC2 #C23FA0
triadic
#A23FC2 #C2A23F #3FC2A2
tetradic
#A23FC2 #C2613F #5FC23F #3FA0C2
square
#A23FC2 #C2613F #5FC23F #3FA0C2
split-complementary
#A23FC2 #A0C23F #3FC261
monochromatic
#552066 #7C2F95 #A23FC2 #B86DD1 #CF9CE0

Accessibility & contrast

On white

5.22
#A23FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A23FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FC2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FC2#FFFFFF#000000##FFFFFF
##A23FC21.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#416FBF
Tritanopia (blue-blind)
#A0587C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23fc2;
/* rgb */ color: rgb(162, 63, 194);
/* oklch */ color: oklch(55.9% 0.206 316.8);
Tailwind
colors: {
  custom: {
    50: '#c17cd5',
    500: '#a23fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a23fc2;
$custom-light: #c17cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fc2",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 285.344,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.2062,
    "h": 316.8
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#A23FC2
secondary
#9FCC91
accent
#DB4D6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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