#A23ED7#A23ED7

#A23ED7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.227 H 311.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A23ED7
RGBrgb(162, 62, 215)
HSLhsl(279, 66%, 54%)
HSVhsv(279, 71%, 84%)
CMYKcmyk(24.7%, 71.2%, 0%, 15.7%)
CIE-LABlab(47.02, 64.53, -60.48)
CIE-LCHlch(47.02, 88.45, 316.86°)
OKLaboklab(57.19% 0.1493 -0.1711)
OKLCHoklch(57.19% 0.227 311.1)
XYZxyz(28.8863, 16.0336, 65.8499)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ED7 #73D73E
analogous
#563ED7 #A23ED7 #D73EBF
triadic
#A23ED7 #D7A23E #3ED7A2
tetradic
#A23ED7 #D7563E #73D73E #3EBFD7
square
#A23ED7 #D7563E #73D73E #3EBFD7
split-complementary
#A23ED7 #BFD73E #3ED756
monochromatic
#5D1B80 #8225B3 #A23ED7 #BA71E2 #D3A3EC

Accessibility & contrast

On white

4.99
#A23ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A23ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ED7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ED7#FFFFFF#000000##FFFFFF
##A23ED71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#2671D4
Tritanopia (blue-blind)
#9B6087
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23ed7;
/* rgb */ color: rgb(162, 62, 215);
/* oklch */ color: oklch(57.2% 0.227 311.1);
Tailwind
colors: {
  custom: {
    50: '#c27ce4',
    500: '#a23ed7',
    950: '#000000',
  },
}
SCSS
$custom: #a23ed7;
$custom-light: #c27ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ed7",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 279.216,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57189,
    "c": 0.22706,
    "h": 311.1
  },
  "luminance": 0.16033
}

Semantic roles & 50–950 ramp

primary
#A23ED7
secondary
#AED998
accent
#E93F7A
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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