#A23BD6#A23BD6

#A23BD6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.8% C 0.230 H 311.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A23BD6
RGBrgb(162, 59, 214)
HSLhsl(280, 65%, 54%)
HSVhsv(280, 72%, 84%)
CMYKcmyk(24.3%, 72.4%, 0%, 16.1%)
CIE-LABlab(46.53, 65.52, -60.69)
CIE-LCHlch(46.53, 89.31, 317.19°)
OKLaboklab(56.82% 0.1523 -0.1717)
OKLCHoklch(56.82% 0.23 311.6)
XYZxyz(28.5996, 15.6651, 65.1224)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BD6 #6FD63B
analogous
#543BD6 #A23BD6 #D63BBC
triadic
#A23BD6 #D6A23B #3BD6A2
tetradic
#A23BD6 #D6543B #6FD63B #3BBCD6
square
#A23BD6 #D6543B #6FD63B #3BBCD6
split-complementary
#A23BD6 #BCD63B #3BD654
monochromatic
#5C1A7D #8125AF #A23BD6 #BA6EE1 #D2A0EB

Accessibility & contrast

On white

5.08
#A23BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A23BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BD6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BD6#FFFFFF#000000##FFFFFF
##A23BD61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#2370D3
Tritanopia (blue-blind)
#9B5E85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23bd6;
/* rgb */ color: rgb(162, 59, 214);
/* oklch */ color: oklch(56.8% 0.230 311.6);
Tailwind
colors: {
  custom: {
    50: '#c27ae3',
    500: '#a23bd6',
    950: '#000000',
  },
}
SCSS
$custom: #a23bd6;
$custom-light: #c27ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bd6",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 279.871,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.22951,
    "h": 311.6
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#A23BD6
secondary
#ABD895
accent
#E83F78
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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