#A23CCB#A23CCB

#A23CCB is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.218 H 314.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A23CCB
RGBrgb(162, 60, 203)
HSLhsl(283, 58%, 52%)
HSVhsv(283, 70%, 80%)
CMYKcmyk(20.2%, 70.4%, 0%, 20.4%)
CIE-LABlab(45.94, 62.88, -55.32)
CIE-LCHlch(45.94, 83.75, 318.66°)
OKLaboklab(56.17% 0.1527 -0.1559)
OKLCHoklch(56.17% 0.218 314.4)
XYZxyz(27.2938, 15.2258, 57.9895)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CCB #65CB3C
analogous
#5B3CCB #A23CCB #CB3CAD
triadic
#A23CCB #CBA23C #3CCBA2
tetradic
#A23CCB #CB5B3C #65CB3C #3CADCB
square
#A23CCB #CB5B3C #65CB3C #3CADCB
split-complementary
#A23CCB #ADCB3C #3CCB5B
monochromatic
#581E6F #7E2A9F #A23CCB #B96CD8 #D09DE5

Accessibility & contrast

On white

5.19
#A23CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A23CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CCB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CCB#FFFFFF#000000##FFFFFF
##A23CCB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#356FC8
Tritanopia (blue-blind)
#9E5A80
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a23ccb;
/* rgb */ color: rgb(162, 60, 203);
/* oklch */ color: oklch(56.2% 0.218 314.4);
Tailwind
colors: {
  custom: {
    50: '#c27adc',
    500: '#a23ccb',
    950: '#000000',
  },
}
SCSS
$custom: #a23ccb;
$custom-light: #c27adc;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ccb",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 282.797,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56171,
    "c": 0.21823,
    "h": 314.4
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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