#A23FBE#A23FBE

#A23FBE is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.6% C 0.202 H 318.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A23FBE
RGBrgb(162, 63, 190)
HSLhsl(287, 50%, 50%)
HSVhsv(287, 67%, 75%)
CMYKcmyk(14.7%, 66.8%, 0%, 25.5%)
CIE-LABlab(45.57, 59.05, -48.37)
CIE-LCHlch(45.57, 76.33, 320.68°)
OKLaboklab(55.65% 0.1504 -0.1356)
OKLCHoklch(55.65% 0.202 318)
XYZxyz(25.9708, 14.9552, 50.2238)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FBE #5BBE3F
analogous
#633FBE #A23FBE #BE3F9A
triadic
#A23FBE #BEA23F #3FBEA2
tetradic
#A23FBE #BE633F #5BBE3F #3F9ABE
square
#A23FBE #BE633F #5BBE3F #3F9ABE
split-complementary
#A23FBE #9ABE3F #3FBE63
monochromatic
#542162 #7B3090 #A23FBE #B96CCE #CF9ADD

Accessibility & contrast

On white

5.26
#A23FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A23FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FBE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FBE#FFFFFF#000000##FFFFFF
##A23FBE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0666C2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#A15679
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23fbe;
/* rgb */ color: rgb(162, 63, 190);
/* oklch */ color: oklch(55.6% 0.202 318.0);
Tailwind
colors: {
  custom: {
    50: '#c17cd2',
    500: '#a23fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a23fbe;
$custom-light: #c17cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fbe",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 286.772,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.20249,
    "h": 318
  },
  "luminance": 0.14954
}

Semantic roles & 50–950 ramp

primary
#A23FBE
secondary
#9CC98F
accent
#DA4E6D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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