#A23CDA#A23CDA

#A23CDA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.232 H 310.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A23CDA
RGBrgb(162, 60, 218)
HSLhsl(279, 68%, 55%)
HSVhsv(279, 72%, 85%)
CMYKcmyk(25.7%, 72.5%, 0%, 14.5%)
CIE-LABlab(46.94, 65.95, -62.32)
CIE-LCHlch(46.94, 90.74, 316.62°)
OKLaboklab(57.2% 0.1508 -0.1765)
OKLCHoklch(57.2% 0.232 310.5)
XYZxyz(29.1686, 15.9757, 67.8631)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CDA #74DA3C
analogous
#533CDA #A23CDA #DA3CC3
triadic
#A23CDA #DAA23C #3CDAA2
tetradic
#A23CDA #DA533C #74DA3C #3CC3DA
square
#A23CDA #DA533C #74DA3C #3CC3DA
split-complementary
#A23CDA #C3DA3C #3CDA53
monochromatic
#5D1983 #8223B6 #A23CDA #BB6FE4 #D3A3EE

Accessibility & contrast

On white

5.01
#A23CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A23CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CDA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CDA#FFFFFF#000000##FFFFFF
##A23CDA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#1C71D7
Tritanopia (blue-blind)
#9A6088
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23cda;
/* rgb */ color: rgb(162, 60, 218);
/* oklch */ color: oklch(57.2% 0.232 310.5);
Tailwind
colors: {
  custom: {
    50: '#c27be6',
    500: '#a23cda',
    950: '#000000',
  },
}
SCSS
$custom: #a23cda;
$custom-light: #c27be6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cda",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 218
  },
  "hsl": {
    "h": 278.734,
    "s": 68.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.23211,
    "h": 310.5
  },
  "luminance": 0.15975
}

Semantic roles & 50–950 ramp

primary
#A23CDA
secondary
#AFDA97
accent
#EB3D7B
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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