#A23FC5#A23FC5

#A23FC5 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.1% C 0.209 H 315.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A23FC5
RGBrgb(162, 63, 197)
HSLhsl(284, 54%, 51%)
HSVhsv(284, 68%, 77%)
CMYKcmyk(17.8%, 68%, 0%, 22.7%)
CIE-LABlab(46.00, 60.44, -51.76)
CIE-LCHlch(46.00, 79.57, 319.43°)
OKLaboklab(56.09% 0.1501 -0.1455)
OKLCHoklch(56.09% 0.209 315.9)
XYZxyz(26.7543, 15.2686, 54.3503)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FC5 #62C53F
analogous
#5F3FC5 #A23FC5 #C53FA5
triadic
#A23FC5 #C5A23F #3FC5A2
tetradic
#A23FC5 #C55F3F #62C53F #3FA5C5
square
#A23FC5 #C55F3F #62C53F #3FA5C5
split-complementary
#A23FC5 #A5C53F #3FC55F
monochromatic
#56206A #7D2E99 #A23FC5 #B96ED3 #D09DE1

Accessibility & contrast

On white

5.18
#A23FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A23FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FC5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FC5#FFFFFF#000000##FFFFFF
##A23FC51.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23fc5;
/* rgb */ color: rgb(162, 63, 197);
/* oklch */ color: oklch(56.1% 0.209 315.9);
Tailwind
colors: {
  custom: {
    50: '#c17cd7',
    500: '#a23fc5',
    950: '#000000',
  },
}
SCSS
$custom: #a23fc5;
$custom-light: #c17cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fc5",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 284.328,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.209,
    "h": 315.9
  },
  "luminance": 0.15268
}

Semantic roles & 50–950 ramp

primary
#A23FC5
secondary
#A2CE92
accent
#DD4B71
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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