#A23EDB#A23EDB

#A23EDB is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.5% C 0.231 H 310.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A23EDB
RGBrgb(162, 62, 219)
HSLhsl(278, 69%, 55%)
HSVhsv(278, 72%, 86%)
CMYKcmyk(26%, 71.7%, 0%, 14.1%)
CIE-LABlab(47.29, 65.37, -62.33)
CIE-LCHlch(47.29, 90.32, 316.37°)
OKLaboklab(57.47% 0.1487 -0.1765)
OKLCHoklch(57.47% 0.231 310.1)
XYZxyz(29.4066, 16.2417, 68.5900)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23EDB #77DB3E
analogous
#543EDB #A23EDB #DB3EC5
triadic
#A23EDB #DBA23E #3EDBA2
tetradic
#A23EDB #DB543E #77DB3E #3EC5DB
square
#A23EDB #DB543E #77DB3E #3EC5DB
split-complementary
#A23EDB #C5DB3E #3EDB54
monochromatic
#5E1986 #8323B9 #A23EDB #BB72E5 #D4A5EE

Accessibility & contrast

On white

4.94
#A23EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A23EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23EDB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23EDB#FFFFFF#000000##FFFFFF
##A23EDB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#9A6289
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a23edb;
/* rgb */ color: rgb(162, 62, 219);
/* oklch */ color: oklch(57.5% 0.231 310.1);
Tailwind
colors: {
  custom: {
    50: '#c27ce7',
    500: '#a23edb',
    950: '#000000',
  },
}
SCSS
$custom: #a23edb;
$custom-light: #c27ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a23edb",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 278.217,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.23081,
    "h": 310.1
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#A23EDB
secondary
#B1DB99
accent
#EB3C7C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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