#8B3CC8#8B3CC8

#8B3CC8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.208 H 306.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8B3CC8
RGBrgb(139, 60, 200)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 70%, 78%)
CMYKcmyk(30.5%, 70%, 0%, 21.6%)
CIE-LABlab(42.60, 57.58, -59.14)
CIE-LCHlch(42.60, 82.54, 314.23°)
OKLaboklab(53.07% 0.1233 -0.1679)
OKLCHoklch(53.07% 0.208 306.3)
XYZxyz(22.6864, 12.8910, 55.9255)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CC8 #79C83C
analogous
#453CC8 #8B3CC8 #C83CBF
triadic
#8B3CC8 #C88B3C #3CC88B
tetradic
#8B3CC8 #C8453C #79C83C #3CBFC8
square
#8B3CC8 #C8453C #79C83C #3CBFC8
split-complementary
#8B3CC8 #BFC83C #3CC845
monochromatic
#4A1E6B #6B2C9B #8B3CC8 #A76CD5 #C49BE3

Accessibility & contrast

On white

5.87
#8B3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8B3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CC8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CC8#FFFFFF#000000##FFFFFF
##8B3CC81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0765C5
Tritanopia (blue-blind)
#805C7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3cc8;
/* rgb */ color: rgb(139, 60, 200);
/* oklch */ color: oklch(53.1% 0.208 306.3);
Tailwind
colors: {
  custom: {
    50: '#b278da',
    500: '#8b3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cc8;
$custom-light: #b278da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cc8",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 273.857,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.20831,
    "h": 306.3
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#8B3CC8
secondary
#ACCF91
accent
#DF498A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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