#A23FD5#A23FD5

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

Color values

HEX#A23FD5
RGBrgb(162, 63, 213)
HSLhsl(280, 64%, 54%)
HSVhsv(280, 70%, 84%)
CMYKcmyk(23.9%, 70.4%, 0%, 16.5%)
CIE-LABlab(47.03, 63.71, -59.32)
CIE-LCHlch(47.03, 87.05, 317.04°)
OKLaboklab(57.15% 0.1486 -0.1677)
OKLCHoklch(57.15% 0.224 311.5)
XYZxyz(28.6858, 16.0412, 64.5230)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FD5 #72D53F
analogous
#573FD5 #A23FD5 #D53FBD
triadic
#A23FD5 #D5A23F #3FD5A2
tetradic
#A23FD5 #D5573F #72D53F #3FBDD5
square
#A23FD5 #D5573F #72D53F #3FBDD5
split-complementary
#A23FD5 #BDD53F #3FD557
monochromatic
#5D1C7E #8127B0 #A23FD5 #BA71E0 #D3A3EB

Accessibility & contrast

On white

4.99
#A23FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A23FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FD5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FD5#FFFFFF#000000##FFFFFF
##A23FD51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#2B71D2
Tritanopia (blue-blind)
#9C6086
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23fd5;
/* rgb */ color: rgb(162, 63, 213);
/* oklch */ color: oklch(57.2% 0.224 311.5);
Tailwind
colors: {
  custom: {
    50: '#c27ce3',
    500: '#a23fd5',
    950: '#000000',
  },
}
SCSS
$custom: #a23fd5;
$custom-light: #c27ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fd5",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 213
  },
  "hsl": {
    "h": 279.6,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.22402,
    "h": 311.5
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#A23FD5
secondary
#AED898
accent
#E74179
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A23FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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