#A23DE2#A23DE2

#A23DE2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.9% C 0.238 H 308.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A23DE2
RGBrgb(162, 61, 226)
HSLhsl(277, 74%, 56%)
HSVhsv(277, 73%, 89%)
CMYKcmyk(28.3%, 73%, 0%, 11.4%)
CIE-LABlab(47.64, 67.24, -65.75)
CIE-LCHlch(47.64, 94.04, 315.64°)
OKLaboklab(57.87% 0.1486 -0.1865)
OKLCHoklch(57.87% 0.238 308.5)
XYZxyz(30.2937, 16.5104, 73.5277)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DE2 #7DE23D
analogous
#503DE2 #A23DE2 #E23DD0
triadic
#A23DE2 #E2A23D #3DE2A2
tetradic
#A23DE2 #E2503D #7DE23D #3DD0E2
square
#A23DE2 #E2503D #7DE23D #3DD0E2
split-complementary
#A23DE2 #D0E23D #3DE250
monochromatic
#60158F #841DC4 #A23DE2 #BC72EA #D5A7F2

Accessibility & contrast

On white

4.88
#A23DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#A23DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DE2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DE2#FFFFFF#000000##FFFFFF
##A23DE21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#98648D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a23de2;
/* rgb */ color: rgb(162, 61, 226);
/* oklch */ color: oklch(57.9% 0.238 308.5);
Tailwind
colors: {
  custom: {
    50: '#c37cec',
    500: '#a23de2',
    950: '#000000',
  },
}
SCSS
$custom: #a23de2;
$custom-light: #c37cec;
$custom-dark: #000000;
JSON
{
  "hex": "#a23de2",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 226
  },
  "hsl": {
    "h": 276.727,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.23847,
    "h": 308.5
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#A23DE2
secondary
#B6DF9B
accent
#F1377F
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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