#8B3DC8#8B3DC8

#8B3DC8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.207 H 306.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#8B3DC8
RGBrgb(139, 61, 200)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 70%, 78%)
CMYKcmyk(30.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(42.76, 57.13, -58.88)
CIE-LCHlch(42.76, 82.04, 314.13°)
OKLaboklab(53.18% 0.1223 -0.1671)
OKLCHoklch(53.18% 0.207 306.2)
XYZxyz(22.7393, 12.9968, 55.9431)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3DC8 #7AC83D
analogous
#453DC8 #8B3DC8 #C83DBF
triadic
#8B3DC8 #C88B3D #3DC88B
tetradic
#8B3DC8 #C8453D #7AC83D #3DBFC8
square
#8B3DC8 #C8453D #7AC83D #3DBFC8
split-complementary
#8B3DC8 #BFC83D #3DC845
monochromatic
#4A1F6C #6B2C9C #8B3DC8 #A86DD6 #C49CE3

Accessibility & contrast

On white

5.83
#8B3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8B3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3DC8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3DC8#FFFFFF#000000##FFFFFF
##8B3DC81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0B65C5
Tritanopia (blue-blind)
#805D7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8b3dc8;
/* rgb */ color: rgb(139, 61, 200);
/* oklch */ color: oklch(53.2% 0.207 306.2);
Tailwind
colors: {
  custom: {
    50: '#b279da',
    500: '#8b3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #8b3dc8;
$custom-light: #b279da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3dc8",
  "rgb": {
    "r": 139,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 273.669,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.20709,
    "h": 306.2
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#8B3DC8
secondary
#ADCF92
accent
#DF498B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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