#A23FBC#A23FBC

#A23FBC is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.5% C 0.201 H 318.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A23FBC
RGBrgb(162, 63, 188)
HSLhsl(288, 50%, 49%)
HSVhsv(288, 66%, 74%)
CMYKcmyk(13.8%, 66.5%, 0%, 26.3%)
CIE-LABlab(45.45, 58.66, -47.39)
CIE-LCHlch(45.45, 75.41, 321.06°)
OKLaboklab(55.52% 0.1505 -0.1327)
OKLCHoklch(55.52% 0.201 318.6)
XYZxyz(25.7537, 14.8684, 49.0805)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FBC #59BC3F
analogous
#643FBC #A23FBC #BC3F98
triadic
#A23FBC #BCA23F #3FBCA2
tetradic
#A23FBC #BC643F #59BC3F #3F98BC
square
#A23FBC #BC643F #59BC3F #3F98BC
split-complementary
#A23FBC #98BC3F #3FBC64
monochromatic
#532060 #7B308E #A23FBC #B96BCD #CF99DD

Accessibility & contrast

On white

5.29
#A23FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A23FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FBC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FBC#FFFFFF#000000##FFFFFF
##A23FBC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65C0
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#A25678
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23fbc;
/* rgb */ color: rgb(162, 63, 188);
/* oklch */ color: oklch(55.5% 0.201 318.6);
Tailwind
colors: {
  custom: {
    50: '#c17bd1',
    500: '#a23fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a23fbc;
$custom-light: #c17bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fbc",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 287.52,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55523,
    "c": 0.20064,
    "h": 318.6
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#A23FBC
secondary
#9AC98E
accent
#D94E6B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A23FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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