#A23CDF#A23CDF

#A23CDF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.6% C 0.237 H 309.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A23CDF
RGBrgb(162, 60, 223)
HSLhsl(278, 72%, 55%)
HSVhsv(278, 73%, 87%)
CMYKcmyk(27.4%, 73.1%, 0%, 12.5%)
CIE-LABlab(47.29, 67.00, -64.61)
CIE-LCHlch(47.29, 93.07, 316.04°)
OKLaboklab(57.56% 0.15 -0.1832)
OKLCHoklch(57.56% 0.237 309.3)
XYZxyz(29.8328, 16.2414, 71.3611)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23CDF #79DF3C
analogous
#503CDF #A23CDF #DF3CCA
triadic
#A23CDF #DFA23C #3CDFA2
tetradic
#A23CDF #DF503C #79DF3C #3CCADF
square
#A23CDF #DF503C #79DF3C #3CCADF
split-complementary
#A23CDF #CADF3C #3CDF50
monochromatic
#5F178A #831FBF #A23CDF #BB71E8 #D4A5F0

Accessibility & contrast

On white

4.94
#A23CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A23CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23CDF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23CDF#FFFFFF#000000##FFFFFF
##A23CDF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0B71DC
Tritanopia (blue-blind)
#99628B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a23cdf;
/* rgb */ color: rgb(162, 60, 223);
/* oklch */ color: oklch(57.6% 0.237 309.3);
Tailwind
colors: {
  custom: {
    50: '#c37bea',
    500: '#a23cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a23cdf;
$custom-light: #c37bea;
$custom-dark: #000000;
JSON
{
  "hex": "#a23cdf",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 223
  },
  "hsl": {
    "h": 277.546,
    "s": 71.806,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.23675,
    "h": 309.3
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#A23CDF
secondary
#B3DD99
accent
#EF397D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A23CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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