#A23BD9#A23BD9

#A23BD9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 57.0% C 0.232 H 310.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A23BD9
RGBrgb(162, 59, 217)
HSLhsl(279, 68%, 54%)
HSVhsv(279, 73%, 85%)
CMYKcmyk(25.3%, 72.8%, 0%, 14.9%)
CIE-LABlab(46.74, 66.13, -62.08)
CIE-LCHlch(46.74, 90.71, 316.81°)
OKLaboklab(57.03% 0.1519 -0.1757)
OKLCHoklch(57.03% 0.232 310.8)
XYZxyz(28.9862, 15.8198, 67.1588)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BD9 #72D93B
analogous
#533BD9 #A23BD9 #D93BC1
triadic
#A23BD9 #D9A23B #3BD9A2
tetradic
#A23BD9 #D9533B #72D93B #3BC1D9
square
#A23BD9 #D9533B #72D93B #3BC1D9
split-complementary
#A23BD9 #C1D93B #3BD953
monochromatic
#5D1981 #8123B4 #A23BD9 #BA6EE3 #D3A2ED

Accessibility & contrast

On white

5.04
#A23BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A23BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BD9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BD9#FFFFFF#000000##FFFFFF
##A23BD91.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#1D70D6
Tritanopia (blue-blind)
#9B5F87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23bd9;
/* rgb */ color: rgb(162, 59, 217);
/* oklch */ color: oklch(57.0% 0.232 310.8);
Tailwind
colors: {
  custom: {
    50: '#c27ae6',
    500: '#a23bd9',
    950: '#000000',
  },
}
SCSS
$custom: #a23bd9;
$custom-light: #c27ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bd9",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 279.114,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57032,
    "c": 0.23228,
    "h": 310.8
  },
  "luminance": 0.15819
}

Semantic roles & 50–950 ramp

primary
#A23BD9
secondary
#AEDA96
accent
#EA3D7A
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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