#8F3BBB#8F3BBB

#8F3BBB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.198 H 311.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8F3BBB
RGBrgb(143, 59, 187)
HSLhsl(279, 52%, 48%)
HSVhsv(279, 68%, 73%)
CMYKcmyk(23.5%, 68.4%, 0%, 26.7%)
CIE-LABlab(42.09, 55.97, -52.36)
CIE-LCHlch(42.09, 76.64, 316.91°)
OKLaboklab(52.53% 0.1312 -0.1478)
OKLCHoklch(52.53% 0.198 311.6)
XYZxyz(21.8596, 12.5560, 48.2761)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3BBB #67BB3B
analogous
#4F3BBB #8F3BBB #BB3BA7
triadic
#8F3BBB #BB8F3B #3BBB8F
tetradic
#8F3BBB #BB4F3B #67BB3B #3BA7BB
square
#8F3BBB #BB4F3B #67BB3B #3BA7BB
split-complementary
#8F3BBB #A7BB3B #3BBB4F
monochromatic
#481E5E #6B2C8C #8F3BBB #AA65CE #C493DD

Accessibility & contrast

On white

5.98
#8F3BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8F3BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3BBB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3BBB#FFFFFF#000000##FFFFFF
##8F3BBB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#8A5676
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8f3bbb;
/* rgb */ color: rgb(143, 59, 187);
/* oklch */ color: oklch(52.5% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#b477d0',
    500: '#8f3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f3bbb;
$custom-light: #b477d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3bbb",
  "rgb": {
    "r": 143,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 279.375,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.19765,
    "h": 311.6
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#8F3BBB
secondary
#9FC88A
accent
#DB4C7E
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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