#8A23B3#8A23B3

#8A23B3 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.215 H 313.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A23B3
RGBrgb(138, 35, 179)
HSLhsl(283, 67%, 42%)
HSVhsv(283, 80%, 70%)
CMYKcmyk(22.9%, 80.4%, 0%, 29.8%)
CIE-LABlab(37.59, 62.47, -54.94)
CIE-LCHlch(37.59, 83.19, 318.67°)
OKLaboklab(49.02% 0.1484 -0.1554)
OKLCHoklch(49.02% 0.215 313.7)
XYZxyz(19.2175, 9.8607, 43.5301)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A23B3 #4CB323
analogous
#4223B3 #8A23B3 #B32394
triadic
#8A23B3 #B38A23 #23B38A
tetradic
#8A23B3 #B34223 #4CB323 #2394B3
square
#8A23B3 #B34223 #4CB323 #2394B3
split-complementary
#8A23B3 #94B323 #23B342
monochromatic
#3B0F4D #631980 #8A23B3 #AC3BD9 #C16EE3

Accessibility & contrast

On white

7.07
#8A23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A23B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A23B3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A23B3#FFFFFF#000000##FFFFFF
##8A23B31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#105BB0
Tritanopia (blue-blind)
#86476C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a23b3;
/* rgb */ color: rgb(138, 35, 179);
/* oklch */ color: oklch(49.0% 0.215 313.7);
Tailwind
colors: {
  custom: {
    50: '#b16bcb',
    500: '#8a23b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a23b3;
$custom-light: #b16bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a23b3",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 282.917,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.21487,
    "h": 313.7
  },
  "luminance": 0.0986
}

Semantic roles & 50–950 ramp

primary
#8A23B3
secondary
#84C969
accent
#EA3E6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8A23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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