#A23FC4#A23FC4

#A23FC4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.0% C 0.208 H 316.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A23FC4
RGBrgb(162, 63, 196)
HSLhsl(285, 53%, 51%)
HSVhsv(285, 68%, 77%)
CMYKcmyk(17.3%, 67.9%, 0%, 23.1%)
CIE-LABlab(45.94, 60.24, -51.27)
CIE-LCHlch(45.94, 79.11, 319.60°)
OKLaboklab(56.03% 0.1501 -0.1441)
OKLCHoklch(56.03% 0.208 316.2)
XYZxyz(26.6401, 15.2229, 53.7489)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FC4 #61C43F
analogous
#5F3FC4 #A23FC4 #C43FA3
triadic
#A23FC4 #C4A23F #3FC4A2
tetradic
#A23FC4 #C45F3F #61C43F #3FA3C4
square
#A23FC4 #C45F3F #61C43F #3FA3C4
split-complementary
#A23FC4 #A3C43F #3FC45F
monochromatic
#562068 #7D2E97 #A23FC4 #B96ED2 #CF9DE1

Accessibility & contrast

On white

5.19
#A23FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A23FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FC4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FC4#FFFFFF#000000##FFFFFF
##A23FC41.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#3F70C1
Tritanopia (blue-blind)
#A0597D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23fc4;
/* rgb */ color: rgb(162, 63, 196);
/* oklch */ color: oklch(56.0% 0.208 316.2);
Tailwind
colors: {
  custom: {
    50: '#c17cd6',
    500: '#a23fc4',
    950: '#000000',
  },
}
SCSS
$custom: #a23fc4;
$custom-light: #c17cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fc4",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 284.662,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56027,
    "c": 0.20807,
    "h": 316.2
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#A23FC4
secondary
#A1CD92
accent
#DC4B70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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