#A23BCB#A23BCB

#A23BCB is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.219 H 314.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A23BCB
RGBrgb(162, 59, 203)
HSLhsl(283, 58%, 51%)
HSVhsv(283, 71%, 80%)
CMYKcmyk(20.2%, 70.9%, 0%, 20.4%)
CIE-LABlab(45.80, 63.28, -55.55)
CIE-LCHlch(45.80, 84.20, 318.72°)
OKLaboklab(56.07% 0.1537 -0.1566)
OKLCHoklch(56.07% 0.219 314.5)
XYZxyz(27.2419, 15.1220, 57.9722)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BCB #64CB3B
analogous
#5A3BCB #A23BCB #CB3BAC
triadic
#A23BCB #CBA23B #3BCBA2
tetradic
#A23BCB #CB5A3B #64CB3B #3BACCB
square
#A23BCB #CB5A3B #64CB3B #3BACCB
split-complementary
#A23BCB #ACCB3B #3BCB5A
monochromatic
#571D6E #7E2A9F #A23BCB #B96BD8 #D09CE5

Accessibility & contrast

On white

5.22
#A23BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A23BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BCB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BCB#FFFFFF#000000##FFFFFF
##A23BCB1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#9E597F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23bcb;
/* rgb */ color: rgb(162, 59, 203);
/* oklch */ color: oklch(56.1% 0.219 314.5);
Tailwind
colors: {
  custom: {
    50: '#c27adc',
    500: '#a23bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a23bcb;
$custom-light: #c27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bcb",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 282.917,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.2194,
    "h": 314.5
  },
  "luminance": 0.15121
}

Semantic roles & 50–950 ramp

primary
#A23BCB
secondary
#A3D191
accent
#E14773
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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