#A23FBF#A23FBF

#A23FBF is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.7% C 0.203 H 317.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A23FBF
RGBrgb(162, 63, 191)
HSLhsl(286, 50%, 50%)
HSVhsv(286, 67%, 75%)
CMYKcmyk(15.2%, 67%, 0%, 25.1%)
CIE-LABlab(45.63, 59.25, -48.86)
CIE-LCHlch(45.63, 76.80, 320.49°)
OKLaboklab(55.71% 0.1504 -0.137)
OKLCHoklch(55.71% 0.203 317.7)
XYZxyz(26.0804, 14.9991, 50.8014)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23FBF #5CBF3F
analogous
#623FBF #A23FBF #BF3F9C
triadic
#A23FBF #BFA23F #3FBFA2
tetradic
#A23FBF #BF623F #5CBF3F #3F9CBF
square
#A23FBF #BF623F #5CBF3F #3F9CBF
split-complementary
#A23FBF #9CBF3F #3FBF62
monochromatic
#542163 #7B3091 #A23FBF #B86DCF #CF9BDE

Accessibility & contrast

On white

5.25
#A23FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A23FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23FBF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23FBF#FFFFFF#000000##FFFFFF
##A23FBF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0266C3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#A1577A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a23fbf;
/* rgb */ color: rgb(162, 63, 191);
/* oklch */ color: oklch(55.7% 0.203 317.7);
Tailwind
colors: {
  custom: {
    50: '#c17cd3',
    500: '#a23fbf',
    950: '#000000',
  },
}
SCSS
$custom: #a23fbf;
$custom-light: #c17cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a23fbf",
  "rgb": {
    "r": 162,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 286.406,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.20341,
    "h": 317.7
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#A23FBF
secondary
#9DCA90
accent
#DA4E6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A23FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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