#8C3BE2#8C3BE2

#8C3BE2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.1% C 0.236 H 300.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8C3BE2
RGBrgb(140, 59, 226)
HSLhsl(269, 74%, 56%)
HSVhsv(269, 74%, 89%)
CMYKcmyk(38.1%, 73.9%, 0%, 11.4%)
CIE-LABlab(44.51, 64.18, -70.96)
CIE-LCHlch(44.51, 95.68, 312.13°)
OKLaboklab(55.05% 0.1209 -0.2026)
OKLCHoklch(55.05% 0.236 300.8)
XYZxyz(26.1033, 14.1942, 73.3013)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3BE2 #91E23B
analogous
#3B3DE2 #8C3BE2 #E03BE2
triadic
#8C3BE2 #E28C3B #3BE28C
tetradic
#8C3BE2 #E23B3D #91E23B #3BE2E0
square
#8C3BE2 #E23B3D #91E23B #3BE2E0
split-complementary
#8C3BE2 #E2E03B #3DE23B
monochromatic
#4F158E #6D1DC3 #8C3BE2 #AB70EA #CBA6F2

Accessibility & contrast

On white

5.47
#8C3BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8C3BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3BE2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3BE2#FFFFFF#000000##FFFFFF
##8C3BE21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#79668C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8c3be2;
/* rgb */ color: rgb(140, 59, 226);
/* oklch */ color: oklch(55.1% 0.236 300.8);
Tailwind
colors: {
  custom: {
    50: '#b579ec',
    500: '#8c3be2',
    950: '#000000',
  },
}
SCSS
$custom: #8c3be2;
$custom-light: #b579ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3be2",
  "rgb": {
    "r": 140,
    "g": 59,
    "b": 226
  },
  "hsl": {
    "h": 269.102,
    "s": 74.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.23589,
    "h": 300.8
  },
  "luminance": 0.14194
}

Semantic roles & 50–950 ramp

primary
#8C3BE2
secondary
#BDDF9A
accent
#F13797
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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