#A23FCB#A23FCB

#A23FCB is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.215 H 314.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A23FCB
RGBrgb(162, 63, 203)
HSLhsl(282, 57%, 52%)
HSVhsv(282, 69%, 80%)
CMYKcmyk(20.2%, 69%, 0%, 20.4%)
CIE-LABlab(46.38, 61.65, -54.62)
CIE-LCHlch(46.38, 82.37, 318.46°)
OKLaboklab(56.48% 0.1496 -0.1539)
OKLCHoklch(56.48% 0.215 314.2)
XYZxyz(27.4555, 15.5491, 58.0433)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FCB #68CB3F
analogous
#5C3FCB #A23FCB #CB3FAE
triadic
#A23FCB #CBA23F #3FCBA2
tetradic
#A23FCB #CB5C3F #68CB3F #3FAECB
square
#A23FCB #CB5C3F #68CB3F #3FAECB
split-complementary
#A23FCB #AECB3F #3FCB5C
monochromatic
#591F71 #7F2CA1 #A23FCB #B96FD8 #D19FE5

Accessibility & contrast

On white

5.11
#A23FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A23FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FCB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FCB#FFFFFF#000000##FFFFFF
##A23FCB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#3870C8
Tritanopia (blue-blind)
#9E5C80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23fcb;
/* rgb */ color: rgb(162, 63, 203);
/* oklch */ color: oklch(56.5% 0.215 314.2);
Tailwind
colors: {
  custom: {
    50: '#c27cdc',
    500: '#a23fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a23fcb;
$custom-light: #c27cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fcb",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 282.429,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56482,
    "c": 0.21461,
    "h": 314.2
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#A23FCB
secondary
#A6D194
accent
#E14774
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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