#8A2BBF#8A2BBF

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

Color values

HEX#8A2BBF
RGBrgb(138, 43, 191)
HSLhsl(279, 63%, 46%)
HSVhsv(279, 77%, 75%)
CMYKcmyk(27.7%, 77.5%, 0%, 25.1%)
CIE-LABlab(39.40, 62.26, -59.08)
CIE-LCHlch(39.40, 85.83, 316.50°)
OKLaboklab(50.57% 0.1395 -0.1676)
OKLCHoklch(50.57% 0.218 309.8)
XYZxyz(20.7472, 10.8931, 50.2897)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2BBF #60BF2B
analogous
#402BBF #8A2BBF #BF2BAA
triadic
#8A2BBF #BF8A2B #2BBF8A
tetradic
#8A2BBF #BF402B #60BF2B #2BAABF
square
#8A2BBF #BF402B #60BF2B #2BAABF
split-complementary
#8A2BBF #AABF2B #2BBF40
monochromatic
#42155B #66208D #8A2BBF #A750D8 #C082E3

Accessibility & contrast

On white

6.61
#8A2BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A2BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2BBF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2BBF#FFFFFF#000000##FFFFFF
##8A2BBF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#825074
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a2bbf;
/* rgb */ color: rgb(138, 43, 191);
/* oklch */ color: oklch(50.6% 0.218 309.8);
Tailwind
colors: {
  custom: {
    50: '#b16fd3',
    500: '#8a2bbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a2bbf;
$custom-light: #b16fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2bbf",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 278.514,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.21807,
    "h": 309.8
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#8A2BBF
secondary
#97CC7A
accent
#E6427D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A2BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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