#8A23BD#8A23BD

#8A23BD is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.224 H 310.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A23BD
RGBrgb(138, 35, 189)
HSLhsl(280, 69%, 44%)
HSVhsv(280, 81%, 74%)
CMYKcmyk(27%, 81.5%, 0%, 25.9%)
CIE-LABlab(38.34, 64.48, -59.63)
CIE-LCHlch(38.34, 87.83, 317.24°)
OKLaboklab(49.78% 0.1461 -0.1692)
OKLCHoklch(49.78% 0.224 310.8)
XYZxyz(20.2658, 10.2800, 49.0509)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A23BD #56BD23
analogous
#3D23BD #8A23BD #BD23A3
triadic
#8A23BD #BD8A23 #23BD8A
tetradic
#8A23BD #BD3D23 #56BD23 #23A3BD
square
#8A23BD #BD3D23 #56BD23 #23A3BD
split-complementary
#8A23BD #A3BD23 #23BD3D
monochromatic
#3F1056 #641989 #8A23BD #A941DC #C075E5

Accessibility & contrast

On white

6.87
#8A23BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A23BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A23BD
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A23BD#FFFFFF#000000##FFFFFF
##8A23BD1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#834B72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a23bd;
/* rgb */ color: rgb(138, 35, 189);
/* oklch */ color: oklch(49.8% 0.224 310.8);
Tailwind
colors: {
  custom: {
    50: '#b26cd2',
    500: '#8a23bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a23bd;
$custom-light: #b26cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a23bd",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 280.13,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49779,
    "c": 0.22356,
    "h": 310.8
  },
  "luminance": 0.10279
}

Semantic roles & 50–950 ramp

primary
#8A23BD
secondary
#8ECD6F
accent
#EC3C76
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A23BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8A23BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva