#8B3CCB#8B3CCB

#8B3CCB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.211 H 305.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8B3CCB
RGBrgb(139, 60, 203)
HSLhsl(273, 58%, 52%)
HSVhsv(273, 70%, 80%)
CMYKcmyk(31.5%, 70.4%, 0%, 20.4%)
CIE-LABlab(42.81, 58.26, -60.53)
CIE-LCHlch(42.81, 84.01, 313.90°)
OKLaboklab(53.29% 0.1229 -0.172)
OKLCHoklch(53.29% 0.211 305.5)
XYZxyz(23.0404, 13.0327, 57.7901)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CCB #7CCB3C
analogous
#443CCB #8B3CCB #CB3CC4
triadic
#8B3CCB #CB8B3C #3CCB8B
tetradic
#8B3CCB #CB443C #7CCB3C #3CC4CB
square
#8B3CCB #CB443C #7CCB3C #3CC4CB
split-complementary
#8B3CCB #C4CB3C #3CCB44
monochromatic
#4B1E6F #6B2A9F #8B3CCB #A86CD8 #C49DE5

Accessibility & contrast

On white

5.82
#8B3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8B3CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CCB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CCB#FFFFFF#000000##FFFFFF
##8B3CCB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#7F5D7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3ccb;
/* rgb */ color: rgb(139, 60, 203);
/* oklch */ color: oklch(53.3% 0.211 305.5);
Tailwind
colors: {
  custom: {
    50: '#b278dc',
    500: '#8b3ccb',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ccb;
$custom-light: #b278dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ccb",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 203
  },
  "hsl": {
    "h": 273.147,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.21137,
    "h": 305.5
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#8B3CCB
secondary
#AED192
accent
#E1478C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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