#A23ECF#A23ECF

#A23ECF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.220 H 313.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A23ECF
RGBrgb(162, 62, 207)
HSLhsl(281, 60%, 53%)
HSVhsv(281, 70%, 81%)
CMYKcmyk(21.7%, 70%, 0%, 18.8%)
CIE-LABlab(46.49, 62.88, -56.75)
CIE-LCHlch(46.49, 84.70, 317.94°)
OKLaboklab(56.64% 0.1503 -0.1601)
OKLCHoklch(56.64% 0.22 313.2)
XYZxyz(27.8834, 15.6325, 60.5679)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23ECF #6BCF3E
analogous
#593ECF #A23ECF #CF3EB4
triadic
#A23ECF #CFA23E #3ECFA2
tetradic
#A23ECF #CF593E #6BCF3E #3EB4CF
square
#A23ECF #CF593E #6BCF3E #3EB4CF
split-complementary
#A23ECF #B4CF3E #3ECF59
monochromatic
#5A1D75 #8029A6 #A23ECF #BA6FDB #D1A0E7

Accessibility & contrast

On white

5.09
#A23ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A23ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23ECF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23ECF#FFFFFF#000000##FFFFFF
##A23ECF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23ecf;
/* rgb */ color: rgb(162, 62, 207);
/* oklch */ color: oklch(56.6% 0.220 313.2);
Tailwind
colors: {
  custom: {
    50: '#c27cde',
    500: '#a23ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a23ecf;
$custom-light: #c27cde;
$custom-dark: #000000;
JSON
{
  "hex": "#a23ecf",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 281.379,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.21956,
    "h": 313.2
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#A23ECF
secondary
#A8D495
accent
#E34476
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A23ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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