#8B5EF3#8B5EF3

#8B5EF3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.213 H 292.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8B5EF3
RGBrgb(139, 94, 243)
HSLhsl(258, 86%, 66%)
HSVhsv(258, 61%, 95%)
CMYKcmyk(42.8%, 61.3%, 0%, 4.7%)
CIE-LABlab(51.80, 51.29, -68.70)
CIE-LCHlch(51.80, 85.74, 306.74°)
OKLaboklab(60.64% 0.0827 -0.1961)
OKLCHoklch(60.64% 0.213 292.9)
XYZxyz(30.8234, 19.9645, 87.0062)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EF3 #C6F35E
analogous
#5E7BF3 #8B5EF3 #D55EF3
triadic
#8B5EF3 #F38B5E #5EF38B
tetradic
#8B5EF3 #F35E7B #C6F35E #5EF3D5
square
#8B5EF3 #F35E7B #C6F35E #5EF3D5
split-complementary
#8B5EF3 #F3D55E #7BF35E
monochromatic
#470FC8 #6225EF #8B5EF3 #B497F7 #DDD0FB

Accessibility & contrast

On white

4.21
#8B5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8B5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EF3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EF3#FFFFFF#000000##000000
##8B5EF31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#6E80A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b5ef3;
/* rgb */ color: rgb(139, 94, 243);
/* oklch */ color: oklch(60.6% 0.213 292.9);
Tailwind
colors: {
  custom: {
    50: '#b48ef8',
    500: '#8b5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ef3;
$custom-light: #b48ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ef3",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 258.121,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.21281,
    "h": 292.9
  },
  "luminance": 0.19965
}

Semantic roles & 50–950 ramp

primary
#8B5EF3
secondary
#E0EFBE
accent
#E3039F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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