#A23FC8#A23FC8

#A23FC8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.3% C 0.212 H 315.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A23FC8
RGBrgb(162, 63, 200)
HSLhsl(283, 55%, 52%)
HSVhsv(283, 69%, 78%)
CMYKcmyk(19%, 68.5%, 0%, 21.6%)
CIE-LABlab(46.19, 61.05, -53.19)
CIE-LCHlch(46.19, 80.97, 318.93°)
OKLaboklab(56.29% 0.1498 -0.1497)
OKLCHoklch(56.29% 0.212 315)
XYZxyz(27.1014, 15.4075, 56.1787)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FC8 #65C83F
analogous
#5E3FC8 #A23FC8 #C83FAA
triadic
#A23FC8 #C8A23F #3FC8A2
tetradic
#A23FC8 #C85E3F #65C83F #3FAAC8
square
#A23FC8 #C85E3F #65C83F #3FAAC8
split-complementary
#A23FC8 #AAC83F #3FC85E
monochromatic
#581F6D #7E2D9D #A23FC8 #B96FD6 #D09EE3

Accessibility & contrast

On white

5.15
#A23FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A23FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FC8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FC8#FFFFFF#000000##FFFFFF
##A23FC81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#9F5A7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23fc8;
/* rgb */ color: rgb(162, 63, 200);
/* oklch */ color: oklch(56.3% 0.212 315.0);
Tailwind
colors: {
  custom: {
    50: '#c17cd9',
    500: '#a23fc8',
    950: '#000000',
  },
}
SCSS
$custom: #a23fc8;
$custom-light: #c17cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fc8",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 283.358,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.21179,
    "h": 315
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#A23FC8
secondary
#A4D093
accent
#DF4973
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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