#8B3CC7#8B3CC7

#8B3CC7 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.207 H 306.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8B3CC7
RGBrgb(139, 60, 199)
HSLhsl(274, 55%, 51%)
HSVhsv(274, 70%, 78%)
CMYKcmyk(30.2%, 69.8%, 0%, 22%)
CIE-LABlab(42.53, 57.35, -58.67)
CIE-LCHlch(42.53, 82.04, 314.35°)
OKLaboklab(52.99% 0.1235 -0.1665)
OKLCHoklch(52.99% 0.207 306.6)
XYZxyz(22.5699, 12.8444, 55.3120)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CC7 #78C73C
analogous
#453CC7 #8B3CC7 #C73CBD
triadic
#8B3CC7 #C78B3C #3CC78B
tetradic
#8B3CC7 #C7453C #78C73C #3CBDC7
square
#8B3CC7 #C7453C #78C73C #3CBDC7
split-complementary
#8B3CC7 #BDC73C #3CC745
monochromatic
#491E6A #6A2C9A #8B3CC7 #A76CD5 #C49BE2

Accessibility & contrast

On white

5.88
#8B3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8B3CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CC7
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CC7#FFFFFF#000000##FFFFFF
##8B3CC71.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0C65C4
Tritanopia (blue-blind)
#815C7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3cc7;
/* rgb */ color: rgb(139, 60, 199);
/* oklch */ color: oklch(53.0% 0.207 306.6);
Tailwind
colors: {
  custom: {
    50: '#b278d9',
    500: '#8b3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cc7;
$custom-light: #b278d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cc7",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 274.101,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52993,
    "c": 0.20729,
    "h": 306.6
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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