#A23BDE#A23BDE

#A23BDE is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.4% C 0.237 H 309.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A23BDE
RGBrgb(162, 59, 222)
HSLhsl(278, 71%, 55%)
HSVhsv(278, 73%, 87%)
CMYKcmyk(27%, 73.4%, 0%, 12.9%)
CIE-LABlab(47.08, 67.17, -64.37)
CIE-LCHlch(47.08, 93.04, 316.22°)
OKLaboklab(57.39% 0.1511 -0.1825)
OKLCHoklch(57.39% 0.237 309.6)
XYZxyz(29.6464, 16.0838, 70.6358)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23BDE #77DE3B
analogous
#503BDE #A23BDE #DE3BC9
triadic
#A23BDE #DEA23B #3BDEA2
tetradic
#A23BDE #DE503B #77DE3B #3BC9DE
square
#A23BDE #DE503B #77DE3B #3BC9DE
split-complementary
#A23BDE #C9DE3B #3BDE50
monochromatic
#5E1788 #8320BC #A23BDE #BB6FE7 #D4A4F0

Accessibility & contrast

On white

4.98
#A23BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A23BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23BDE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23BDE#FFFFFF#000000##FFFFFF
##A23BDE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#0C71DB
Tritanopia (blue-blind)
#99618A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a23bde;
/* rgb */ color: rgb(162, 59, 222);
/* oklch */ color: oklch(57.4% 0.237 309.6);
Tailwind
colors: {
  custom: {
    50: '#c37be9',
    500: '#a23bde',
    950: '#000000',
  },
}
SCSS
$custom: #a23bde;
$custom-light: #c37be9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23bde",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 222
  },
  "hsl": {
    "h": 277.914,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.2369,
    "h": 309.6
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#A23BDE
secondary
#B1DD98
accent
#EE3A7C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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