#A23FDC#A23FDC

#A23FDC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.6% C 0.231 H 309.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A23FDC
RGBrgb(162, 63, 220)
HSLhsl(278, 69%, 55%)
HSVhsv(278, 71%, 86%)
CMYKcmyk(26.4%, 71.4%, 0%, 13.7%)
CIE-LABlab(47.50, 65.18, -62.56)
CIE-LCHlch(47.50, 90.34, 316.18°)
OKLaboklab(57.64% 0.1476 -0.1772)
OKLCHoklch(57.64% 0.231 309.8)
XYZxyz(29.5935, 16.4043, 69.3037)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FDC #79DC3F
analogous
#533FDC #A23FDC #DC3FC8
triadic
#A23FDC #DCA23F #3FDCA2
tetradic
#A23FDC #DC533F #79DC3F #3FC8DC
square
#A23FDC #DC533F #79DC3F #3FC8DC
split-complementary
#A23FDC #C8DC3F #3FDC53
monochromatic
#5F1988 #8322BC #A23FDC #BB73E5 #D4A7EF

Accessibility & contrast

On white

4.91
#A23FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A23FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FDC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FDC#FFFFFF#000000##FFFFFF
##A23FDC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#1D72D9
Tritanopia (blue-blind)
#9A638A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a23fdc;
/* rgb */ color: rgb(162, 63, 220);
/* oklch */ color: oklch(57.6% 0.231 309.8);
Tailwind
colors: {
  custom: {
    50: '#c27de8',
    500: '#a23fdc',
    950: '#000000',
  },
}
SCSS
$custom: #a23fdc;
$custom-light: #c27de8;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fdc",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 220
  },
  "hsl": {
    "h": 277.834,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.23062,
    "h": 309.8
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#A23FDC
secondary
#B3DC9B
accent
#EC3C7D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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