#8B4FD2#8B4FD2

#8B4FD2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.194 H 301.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B4FD2
RGBrgb(139, 79, 210)
HSLhsl(267, 59%, 57%)
HSVhsv(267, 62%, 82%)
CMYKcmyk(33.8%, 62.4%, 0%, 17.6%)
CIE-LABlab(46.62, 50.74, -58.40)
CIE-LCHlch(46.62, 77.37, 310.99°)
OKLaboklab(56.18% 0.1015 -0.1658)
OKLCHoklch(56.18% 0.194 301.5)
XYZxyz(25.0735, 15.7340, 62.6763)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FD2 #96D24F
analogous
#4F55D2 #8B4FD2 #CD4FD2
triadic
#8B4FD2 #D28B4F #4FD28B
tetradic
#8B4FD2 #D24F55 #96D24F #4FD2CD
square
#8B4FD2 #D24F55 #96D24F #4FD2CD
split-complementary
#8B4FD2 #D2CD4F #55D24F
monochromatic
#4F2285 #6C2EB5 #8B4FD2 #AB80DE #CBB0EB

Accessibility & contrast

On white

5.06
#8B4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8B4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FD2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FD2#FFFFFF#000000##FFFFFF
##8B4FD21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#216ECF
Tritanopia (blue-blind)
#7C6B89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4fd2;
/* rgb */ color: rgb(139, 79, 210);
/* oklch */ color: oklch(56.2% 0.194 301.5);
Tailwind
colors: {
  custom: {
    50: '#b183e1',
    500: '#8b4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fd2;
$custom-light: #b183e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fd2",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 267.481,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56175,
    "c": 0.1944,
    "h": 301.5
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#8B4FD2
secondary
#C1D9A4
accent
#E2459A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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