#A23FCC#A23FCC

#A23FCC is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.216 H 313.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A23FCC
RGBrgb(162, 63, 204)
HSLhsl(282, 58%, 52%)
HSVhsv(282, 69%, 80%)
CMYKcmyk(20.6%, 69.1%, 0%, 20%)
CIE-LABlab(46.44, 61.86, -55.09)
CIE-LCHlch(46.44, 82.84, 318.31°)
OKLaboklab(56.55% 0.1495 -0.1553)
OKLCHoklch(56.55% 0.216 313.9)
XYZxyz(27.5750, 15.5969, 58.6730)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FCC #69CC3F
analogous
#5C3FCC #A23FCC #CC3FAF
triadic
#A23FCC #CCA23F #3FCCA2
tetradic
#A23FCC #CC5C3F #69CC3F #3FAFCC
square
#A23FCC #CC5C3F #69CC3F #3FAFCC
split-complementary
#A23FCC #AFCC3F #3FCC5C
monochromatic
#591E72 #7F2BA3 #A23FCC #B96FD9 #D1A0E6

Accessibility & contrast

On white

5.10
#A23FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A23FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FCC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FCC#FFFFFF#000000##FFFFFF
##A23FCC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#3770C9
Tritanopia (blue-blind)
#9E5C81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23fcc;
/* rgb */ color: rgb(162, 63, 204);
/* oklch */ color: oklch(56.5% 0.216 313.9);
Tailwind
colors: {
  custom: {
    50: '#c27cdc',
    500: '#a23fcc',
    950: '#000000',
  },
}
SCSS
$custom: #a23fcc;
$custom-light: #c27cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fcc",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 282.128,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56548,
    "c": 0.21554,
    "h": 313.9
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#A23FCC
secondary
#A7D295
accent
#E14775
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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