#A23DD5#A23DD5

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

Color values

HEX#A23DD5
RGBrgb(162, 61, 213)
HSLhsl(280, 64%, 54%)
HSVhsv(280, 71%, 84%)
CMYKcmyk(23.9%, 71.4%, 0%, 16.5%)
CIE-LABlab(46.74, 64.52, -59.78)
CIE-LCHlch(46.74, 87.96, 317.18°)
OKLaboklab(56.95% 0.1505 -0.169)
OKLCHoklch(56.95% 0.226 311.7)
XYZxyz(28.5770, 15.8237, 64.4868)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DD5 #70D53D
analogous
#563DD5 #A23DD5 #D53DBC
triadic
#A23DD5 #D5A23D #3DD5A2
tetradic
#A23DD5 #D5563D #70D53D #3DBCD5
square
#A23DD5 #D5563D #70D53D #3DBCD5
split-complementary
#A23DD5 #BCD53D #3DD556
monochromatic
#5C1B7D #8126AF #A23DD5 #BA6FE0 #D2A2EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23DD5#FFFFFF#000000##FFFFFF
##A23DD51.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)
#006AD9
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#9C5F85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23dd5;
/* rgb */ color: rgb(162, 61, 213);
/* oklch */ color: oklch(57.0% 0.226 311.7);
Tailwind
colors: {
  custom: {
    50: '#c27be3',
    500: '#a23dd5',
    950: '#000000',
  },
}
SCSS
$custom: #a23dd5;
$custom-light: #c27be3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23dd5",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 279.868,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5695,
    "c": 0.22633,
    "h": 311.7
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#A23DD5
secondary
#ACD796
accent
#E74078
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A23DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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