#A23DE5#A23DE5

#A23DE5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.1% C 0.241 H 307.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A23DE5
RGBrgb(162, 61, 229)
HSLhsl(276, 76%, 57%)
HSVhsv(276, 73%, 90%)
CMYKcmyk(29.3%, 73.4%, 0%, 10.2%)
CIE-LABlab(47.85, 67.88, -67.10)
CIE-LCHlch(47.85, 95.45, 315.33°)
OKLaboklab(58.08% 0.148 -0.1905)
OKLCHoklch(58.08% 0.241 307.8)
XYZxyz(30.7089, 16.6765, 75.7147)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DE5 #80E53D
analogous
#4E3DE5 #A23DE5 #E53DD4
triadic
#A23DE5 #E5A23D #3DE5A2
tetradic
#A23DE5 #E54E3D #80E53D #3DD4E5
square
#A23DE5 #E54E3D #80E53D #3DD4E5
split-complementary
#A23DE5 #D4E53D #3DE54E
monochromatic
#611494 #841BCA #A23DE5 #BC73EC #D6A9F3

Accessibility & contrast

On white

4.84
#A23DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A23DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DE5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DE5#FFFFFF#000000##FFFFFF
##A23DE51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#97658E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a23de5;
/* rgb */ color: rgb(162, 61, 229);
/* oklch */ color: oklch(58.1% 0.241 307.8);
Tailwind
colors: {
  custom: {
    50: '#c37cee',
    500: '#a23de5',
    950: '#000000',
  },
}
SCSS
$custom: #a23de5;
$custom-light: #c37cee;
$custom-dark: #000000;
JSON
{
  "hex": "#a23de5",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 229
  },
  "hsl": {
    "h": 276.071,
    "s": 76.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.24129,
    "h": 307.8
  },
  "luminance": 0.16676
}

Semantic roles & 50–950 ramp

primary
#A23DE5
secondary
#B8E19D
accent
#F33581
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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