#A23FCA#A23FCA

#A23FCA is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.214 H 314.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A23FCA
RGBrgb(162, 63, 202)
HSLhsl(283, 57%, 52%)
HSVhsv(283, 69%, 79%)
CMYKcmyk(19.8%, 68.8%, 0%, 20.8%)
CIE-LABlab(46.31, 61.45, -54.14)
CIE-LCHlch(46.31, 81.90, 318.62°)
OKLaboklab(56.42% 0.1497 -0.1525)
OKLCHoklch(56.42% 0.214 314.5)
XYZxyz(27.3367, 15.5016, 57.4178)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FCA #67CA3F
analogous
#5D3FCA #A23FCA #CA3FAD
triadic
#A23FCA #CAA23F #3FCAA2
tetradic
#A23FCA #CA5D3F #67CA3F #3FADCA
square
#A23FCA #CA5D3F #67CA3F #3FADCA
split-complementary
#A23FCA #ADCA3F #3FCA5D
monochromatic
#581F70 #7E2CA0 #A23FCA #B96FD7 #D09FE4

Accessibility & contrast

On white

5.12
#A23FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A23FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FCA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FCA#FFFFFF#000000##FFFFFF
##A23FCA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#9E5B80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23fca;
/* rgb */ color: rgb(162, 63, 202);
/* oklch */ color: oklch(56.4% 0.214 314.5);
Tailwind
colors: {
  custom: {
    50: '#c17cdb',
    500: '#a23fca',
    950: '#000000',
  },
}
SCSS
$custom: #a23fca;
$custom-light: #c17cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fca",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 282.734,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.21367,
    "h": 314.5
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#A23FCA
secondary
#A5D194
accent
#E04874
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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