#8A2BC0#8A2BC0

#8A2BC0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.219 H 309.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8A2BC0
RGBrgb(138, 43, 192)
HSLhsl(278, 63%, 46%)
HSVhsv(278, 78%, 75%)
CMYKcmyk(28.1%, 77.6%, 0%, 24.7%)
CIE-LABlab(39.47, 62.47, -59.55)
CIE-LCHlch(39.47, 86.30, 316.37°)
OKLaboklab(50.64% 0.1393 -0.169)
OKLCHoklch(50.64% 0.219 309.5)
XYZxyz(20.8576, 10.9372, 50.8713)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2BC0 #61C02B
analogous
#3F2BC0 #8A2BC0 #C02BAB
triadic
#8A2BC0 #C08A2B #2BC08A
tetradic
#8A2BC0 #C03F2B #61C02B #2BABC0
square
#8A2BC0 #C03F2B #61C02B #2BABC0
split-complementary
#8A2BC0 #ABC02B #2BC03F
monochromatic
#42155C #66208E #8A2BC0 #A750D8 #C082E3

Accessibility & contrast

On white

6.59
#8A2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8A2BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2BC0
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2BC0#FFFFFF#000000##FFFFFF
##8A2BC01.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#825075
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a2bc0;
/* rgb */ color: rgb(138, 43, 192);
/* oklch */ color: oklch(50.6% 0.219 309.5);
Tailwind
colors: {
  custom: {
    50: '#b16fd4',
    500: '#8a2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2bc0;
$custom-light: #b16fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2bc0",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 278.255,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.21898,
    "h": 309.5
  },
  "luminance": 0.10937
}

Semantic roles & 50–950 ramp

primary
#8A2BC0
secondary
#98CC7B
accent
#E6417D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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