#A23FC3#A23FC3

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

Color values

HEX#A23FC3
RGBrgb(162, 63, 195)
HSLhsl(285, 52%, 51%)
HSVhsv(285, 68%, 76%)
CMYKcmyk(16.9%, 67.7%, 0%, 23.5%)
CIE-LABlab(45.88, 60.04, -50.79)
CIE-LCHlch(45.88, 78.64, 319.77°)
OKLaboklab(55.96% 0.1502 -0.1427)
OKLCHoklch(55.96% 0.207 316.5)
XYZxyz(26.5266, 15.1776, 53.1514)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FC3 #60C33F
analogous
#603FC3 #A23FC3 #C33FA2
triadic
#A23FC3 #C3A23F #3FC3A2
tetradic
#A23FC3 #C3603F #60C33F #3FA2C3
square
#A23FC3 #C3603F #60C33F #3FA2C3
split-complementary
#A23FC3 #A2C33F #3FC360
monochromatic
#562067 #7C2F96 #A23FC3 #B96ED2 #CF9CE0

Accessibility & contrast

On white

5.20
#A23FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23FC3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FC3#FFFFFF#000000##FFFFFF
##A23FC31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#4070C0
Tritanopia (blue-blind)
#A0587C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23fc3;
/* rgb */ color: rgb(162, 63, 195);
/* oklch */ color: oklch(56.0% 0.207 316.5);
Tailwind
colors: {
  custom: {
    50: '#c17cd6',
    500: '#a23fc3',
    950: '#000000',
  },
}
SCSS
$custom: #a23fc3;
$custom-light: #c17cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fc3",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 285,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.20713,
    "h": 316.5
  },
  "luminance": 0.15177
}

Semantic roles & 50–950 ramp

primary
#A23FC3
secondary
#A0CC92
accent
#DC4C70
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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