#A23DE4#A23DE4

#A23DE4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 58.0% C 0.240 H 308.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A23DE4
RGBrgb(162, 61, 228)
HSLhsl(276, 76%, 57%)
HSVhsv(276, 73%, 89%)
CMYKcmyk(28.9%, 73.2%, 0%, 10.6%)
CIE-LABlab(47.78, 67.67, -66.65)
CIE-LCHlch(47.78, 94.98, 315.43°)
OKLaboklab(58.01% 0.1482 -0.1892)
OKLCHoklch(58.01% 0.24 308.1)
XYZxyz(30.5697, 16.6208, 74.9815)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23DE4 #7FE43D
analogous
#4E3DE4 #A23DE4 #E43DD3
triadic
#A23DE4 #E4A23D #3DE4A2
tetradic
#A23DE4 #E44E3D #7FE43D #3DD3E4
square
#A23DE4 #E44E3D #7FE43D #3DD3E4
split-complementary
#A23DE4 #D3E43D #3DE44E
monochromatic
#601492 #841CC8 #A23DE4 #BC73EB #D6A8F3

Accessibility & contrast

On white

4.86
#A23DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A23DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23DE4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23DE4#FFFFFF#000000##FFFFFF
##A23DE41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#97658E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a23de4;
/* rgb */ color: rgb(162, 61, 228);
/* oklch */ color: oklch(58.0% 0.240 308.1);
Tailwind
colors: {
  custom: {
    50: '#c37ced',
    500: '#a23de4',
    950: '#000000',
  },
}
SCSS
$custom: #a23de4;
$custom-light: #c37ced;
$custom-dark: #000000;
JSON
{
  "hex": "#a23de4",
  "rgb": {
    "r": 162,
    "g": 61,
    "b": 228
  },
  "hsl": {
    "h": 276.287,
    "s": 75.566,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.24035,
    "h": 308.1
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#A23DE4
secondary
#B7E19C
accent
#F23680
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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