#A23CD9#A23CD9

#A23CD9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.1% C 0.231 H 310.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A23CD9
RGBrgb(162, 60, 217)
HSLhsl(279, 67%, 54%)
HSVhsv(279, 72%, 85%)
CMYKcmyk(25.3%, 72.4%, 0%, 14.9%)
CIE-LABlab(46.87, 65.75, -61.86)
CIE-LCHlch(46.87, 90.27, 316.75°)
OKLaboklab(57.13% 0.1509 -0.1751)
OKLCHoklch(57.13% 0.231 310.8)
XYZxyz(29.0381, 15.9235, 67.1760)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CD9 #73D93C
analogous
#543CD9 #A23CD9 #D93CC2
triadic
#A23CD9 #D9A23C #3CD9A2
tetradic
#A23CD9 #D9543C #73D93C #3CC2D9
square
#A23CD9 #D9543C #73D93C #3CC2D9
split-complementary
#A23CD9 #C2D93C #3CD954
monochromatic
#5D1981 #8223B5 #A23CD9 #BA6FE3 #D3A2ED

Accessibility & contrast

On white

5.02
#A23CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A23CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CD9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CD9#FFFFFF#000000##FFFFFF
##A23CD91.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#1F71D6
Tritanopia (blue-blind)
#9B6087
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23cd9;
/* rgb */ color: rgb(162, 60, 217);
/* oklch */ color: oklch(57.1% 0.231 310.8);
Tailwind
colors: {
  custom: {
    50: '#c27be6',
    500: '#a23cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a23cd9;
$custom-light: #c27be6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cd9",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 278.981,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.23118,
    "h": 310.8
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#A23CD9
secondary
#AEDA97
accent
#EA3E7A
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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