#8B3FE4#8B3FE4

#8B3FE4 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.5% C 0.234 H 299.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8B3FE4
RGBrgb(139, 63, 228)
HSLhsl(268, 75%, 57%)
HSVhsv(268, 72%, 89%)
CMYKcmyk(39%, 72.4%, 0%, 10.6%)
CIE-LABlab(45.14, 62.78, -71.07)
CIE-LCHlch(45.14, 94.83, 311.46°)
OKLaboklab(55.52% 0.1155 -0.203)
OKLCHoklch(55.52% 0.234 299.6)
XYZxyz(26.4250, 14.6451, 74.8183)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3FE4 #98E43F
analogous
#3F46E4 #8B3FE4 #DD3FE4
triadic
#8B3FE4 #E48B3F #3FE48B
tetradic
#8B3FE4 #E43F46 #98E43F #3FE4DD
square
#8B3FE4 #E43F46 #98E43F #3FE4DD
split-complementary
#8B3FE4 #E4DD3F #46E43F
monochromatic
#4F1594 #6C1CC9 #8B3FE4 #AB75EC #CCAAF3

Accessibility & contrast

On white

5.34
#8B3FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8B3FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3FE4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3FE4#FFFFFF#000000##FFFFFF
##8B3FE41.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#76698E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b3fe4;
/* rgb */ color: rgb(139, 63, 228);
/* oklch */ color: oklch(55.5% 0.234 299.6);
Tailwind
colors: {
  custom: {
    50: '#b47bee',
    500: '#8b3fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3fe4;
$custom-light: #b47bee;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3fe4",
  "rgb": {
    "r": 139,
    "g": 63,
    "b": 228
  },
  "hsl": {
    "h": 267.636,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.23353,
    "h": 299.6
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#8B3FE4
secondary
#C2E19E
accent
#F2369B
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B3FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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