#8B5CC7#8B5CC7

#8B5CC7 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.162 H 301.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8B5CC7
RGBrgb(139, 92, 199)
HSLhsl(266, 49%, 57%)
HSVhsv(266, 54%, 78%)
CMYKcmyk(30.2%, 53.8%, 0%, 22%)
CIE-LABlab(48.59, 41.00, -48.92)
CIE-LCHlch(48.59, 63.83, 309.97°)
OKLaboklab(57.4% 0.0855 -0.138)
OKLCHoklch(57.4% 0.162 301.8)
XYZxyz(24.7810, 17.2667, 56.0490)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CC7 #98C75C
analogous
#5C63C7 #8B5CC7 #C05CC7
triadic
#8B5CC7 #C78B5C #5CC78B
tetradic
#8B5CC7 #C75C63 #98C75C #5CC7C0
square
#8B5CC7 #C75C63 #98C75C #5CC7C0
split-complementary
#8B5CC7 #C7C05C #63C75C
monochromatic
#4F2B7D #6C3BAB #8B5CC7 #AB8AD7 #CCB7E6

Accessibility & contrast

On white

4.72
#8B5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8B5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CC7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CC7#FFFFFF#000000##FFFFFF
##8B5CC71.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CB
Deuteranopia (green-blind)
#4373C4
Tritanopia (blue-blind)
#7F7189
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b5cc7;
/* rgb */ color: rgb(139, 92, 199);
/* oklch */ color: oklch(57.4% 0.162 301.8);
Tailwind
colors: {
  custom: {
    50: '#b08cd8',
    500: '#8b5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cc7;
$custom-light: #b08cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cc7",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 266.355,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57399,
    "c": 0.16234,
    "h": 301.8
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#8B5CC7
secondary
#C2D5AA
accent
#D84F9C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8B5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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