#A23FCF#A23FCF

#A23FCF is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.218 H 313.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A23FCF
RGBrgb(162, 63, 207)
HSLhsl(281, 60%, 53%)
HSVhsv(281, 70%, 81%)
CMYKcmyk(21.7%, 69.6%, 0%, 18.8%)
CIE-LABlab(46.63, 62.47, -56.51)
CIE-LCHlch(46.63, 84.24, 317.87°)
OKLaboklab(56.75% 0.1492 -0.1594)
OKLCHoklch(56.75% 0.218 313.1)
XYZxyz(27.9383, 15.7422, 60.5862)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FCF #6CCF3F
analogous
#5A3FCF #A23FCF #CF3FB4
triadic
#A23FCF #CFA23F #3FCFA2
tetradic
#A23FCF #CF5A3F #6CCF3F #3FB4CF
square
#A23FCF #CF5A3F #6CCF3F #3FB4CF
split-complementary
#A23FCF #B4CF3F #3FCF5A
monochromatic
#5A1E76 #802AA7 #A23FCF #BA70DB #D1A1E7

Accessibility & contrast

On white

5.06
#A23FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A23FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FCF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FCF#FFFFFF#000000##FFFFFF
##A23FCF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#9D5D83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a23fcf;
/* rgb */ color: rgb(162, 63, 207);
/* oklch */ color: oklch(56.7% 0.218 313.1);
Tailwind
colors: {
  custom: {
    50: '#c27cde',
    500: '#a23fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a23fcf;
$custom-light: #c27cde;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fcf",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 281.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56747,
    "c": 0.21837,
    "h": 313.1
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#A23FCF
secondary
#A9D496
accent
#E34576
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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