#8B23D4#8B23D4

#8B23D4 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.8% C 0.244 H 305.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8B23D4
RGBrgb(139, 35, 212)
HSLhsl(275, 72%, 48%)
HSVhsv(275, 83%, 83%)
CMYKcmyk(34.4%, 83.5%, 0%, 16.9%)
CIE-LABlab(40.32, 69.40, -69.79)
CIE-LCHlch(40.32, 98.42, 314.84°)
OKLaboklab(51.75% 0.1411 -0.199)
OKLCHoklch(51.75% 0.244 305.3)
XYZxyz(23.1295, 11.4447, 63.2651)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B23D4 #6CD423
analogous
#3223D4 #8B23D4 #D423C4
triadic
#8B23D4 #D48B23 #23D48B
tetradic
#8B23D4 #D43223 #6CD423 #23C4D4
square
#8B23D4 #D43223 #6CD423 #23C4D4
split-complementary
#8B23D4 #C4D423 #23D432
monochromatic
#46126B #691A9F #8B23D4 #A752E2 #C286EB

Accessibility & contrast

On white

6.39
#8B23D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8B23D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B23D4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B23D4#FFFFFF#000000##FFFFFF
##8B23D41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD9
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#7D567F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b23d4;
/* rgb */ color: rgb(139, 35, 212);
/* oklch */ color: oklch(51.8% 0.244 305.3);
Tailwind
colors: {
  custom: {
    50: '#b46de2',
    500: '#8b23d4',
    950: '#000000',
  },
}
SCSS
$custom: #8b23d4;
$custom-light: #b46de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b23d4",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 275.254,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.24398,
    "h": 305.3
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#8B23D4
secondary
#A2D47E
accent
#EE3984
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8B23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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