#A23FD4#A23FD4

#A23FD4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.1% C 0.223 H 311.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A23FD4
RGBrgb(162, 63, 212)
HSLhsl(280, 63%, 54%)
HSVhsv(280, 70%, 83%)
CMYKcmyk(23.6%, 70.3%, 0%, 16.9%)
CIE-LABlab(46.96, 63.50, -58.85)
CIE-LCHlch(46.96, 86.58, 317.18°)
OKLaboklab(57.08% 0.1487 -0.1663)
OKLCHoklch(57.08% 0.223 311.8)
XYZxyz(28.5593, 15.9906, 63.8566)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FD4 #71D43F
analogous
#583FD4 #A23FD4 #D43FBB
triadic
#A23FD4 #D4A23F #3FD4A2
tetradic
#A23FD4 #D4583F #71D43F #3FBBD4
square
#A23FD4 #D4583F #71D43F #3FBBD4
split-complementary
#A23FD4 #BBD43F #3FD458
monochromatic
#5C1C7D #8127AF #A23FD4 #BA71DF #D2A3EA

Accessibility & contrast

On white

5.00
#A23FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A23FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FD4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FD4#FFFFFF#000000##FFFFFF
##A23FD41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#2C71D1
Tritanopia (blue-blind)
#9C5F85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a23fd4;
/* rgb */ color: rgb(162, 63, 212);
/* oklch */ color: oklch(57.1% 0.223 311.8);
Tailwind
colors: {
  custom: {
    50: '#c27ce2',
    500: '#a23fd4',
    950: '#000000',
  },
}
SCSS
$custom: #a23fd4;
$custom-light: #c27ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fd4",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 279.866,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.22307,
    "h": 311.8
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#A23FD4
secondary
#ADD798
accent
#E64179
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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