#8B239F#8B239F

#8B239F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.198 H 320.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8B239F
RGBrgb(139, 35, 159)
HSLhsl(290, 64%, 38%)
HSVhsv(290, 78%, 62%)
CMYKcmyk(12.6%, 78%, 0%, 37.6%)
CIE-LABlab(36.36, 58.80, -44.94)
CIE-LCHlch(36.36, 74.01, 322.61°)
OKLaboklab(47.74% 0.1529 -0.126)
OKLCHoklch(47.74% 0.198 320.5)
XYZxyz(17.5057, 9.1952, 33.6469)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B239F #379F23
analogous
#4D239F #8B239F #9F2375
triadic
#8B239F #9F8B23 #239F8B
tetradic
#8B239F #9F4D23 #379F23 #23759F
square
#8B239F #9F4D23 #379F23 #23759F
split-complementary
#8B239F #759F23 #239F4D
monochromatic
#330D3B #5F186D #8B239F #B72ED1 #C860DC

Accessibility & contrast

On white

7.40
#8B239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8B239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B239F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B239F#FFFFFF#000000##FFFFFF
##8B239F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#31599C
Tritanopia (blue-blind)
#8C3D60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b239f;
/* rgb */ color: rgb(139, 35, 159);
/* oklch */ color: oklch(47.7% 0.198 320.5);
Tailwind
colors: {
  custom: {
    50: '#b16bbc',
    500: '#8b239f',
    950: '#000000',
  },
}
SCSS
$custom: #8b239f;
$custom-light: #b16bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b239f",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 290.323,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47743,
    "c": 0.19812,
    "h": 320.5
  },
  "luminance": 0.09194
}

Semantic roles & 50–950 ramp

primary
#8B239F
secondary
#6DC15D
accent
#E7415C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B239F

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

Preview Lab → · Contrast checker → · Palette generator →

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