#8F4BCA#8F4BCA

#8F4BCA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.192 H 305.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8F4BCA
RGBrgb(143, 75, 202)
HSLhsl(272, 55%, 54%)
HSVhsv(272, 63%, 79%)
CMYKcmyk(29.2%, 62.9%, 0%, 20.8%)
CIE-LABlab(45.82, 51.75, -55.07)
CIE-LCHlch(45.82, 75.57, 313.22°)
OKLaboklab(55.53% 0.1119 -0.1559)
OKLCHoklch(55.53% 0.192 305.7)
XYZxyz(24.5021, 15.1363, 57.4964)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BCA #86CA4B
analogous
#504BCA #8F4BCA #CA4BC5
triadic
#8F4BCA #CA8F4B #4BCA8F
tetradic
#8F4BCA #CA504B #86CA4B #4BC5CA
square
#8F4BCA #CA504B #86CA4B #4BC5CA
split-complementary
#8F4BCA #C5CA4B #4BCA50
monochromatic
#502377 #7031A7 #8F4BCA #AC7AD8 #CAAAE6

Accessibility & contrast

On white

5.21
#8F4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8F4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BCA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BCA#FFFFFF#000000##FFFFFF
##8F4BCA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#856584
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4bca;
/* rgb */ color: rgb(143, 75, 202);
/* oklch */ color: oklch(55.5% 0.192 305.7);
Tailwind
colors: {
  custom: {
    50: '#b481db',
    500: '#8f4bca',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bca;
$custom-light: #b481db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bca",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 272.126,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.19187,
    "h": 305.7
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#8F4BCA
secondary
#B6D39D
accent
#DE4A8F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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