#8A26BF#8A26BF

#8A26BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.223 H 310.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A26BF
RGBrgb(138, 38, 191)
HSLhsl(279, 67%, 45%)
HSVhsv(279, 80%, 75%)
CMYKcmyk(27.7%, 80.1%, 0%, 25.1%)
CIE-LABlab(38.81, 63.96, -60.03)
CIE-LCHlch(38.81, 87.72, 316.81°)
OKLaboklab(50.16% 0.1435 -0.1704)
OKLCHoklch(50.16% 0.223 310.1)
XYZxyz(20.5764, 10.5515, 50.2328)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26BF #5BBF26
analogous
#3E26BF #8A26BF #BF26A7
triadic
#8A26BF #BF8A26 #26BF8A
tetradic
#8A26BF #BF3E26 #5BBF26 #26A7BF
square
#8A26BF #BF3E26 #5BBF26 #26A7BF
split-complementary
#8A26BF #A7BF26 #26BF3E
monochromatic
#401259 #651C8C #8A26BF #A848DB #C07BE5

Accessibility & contrast

On white

6.75
#8A26BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A26BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A26BF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26BF#FFFFFF#000000##FFFFFF
##8A26BF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#824D73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a26bf;
/* rgb */ color: rgb(138, 38, 191);
/* oklch */ color: oklch(50.2% 0.223 310.1);
Tailwind
colors: {
  custom: {
    50: '#b26dd3',
    500: '#8a26bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a26bf;
$custom-light: #b26dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26bf",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 191
  },
  "hsl": {
    "h": 279.216,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.22274,
    "h": 310.1
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#8A26BF
secondary
#93CD74
accent
#EA3E7A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A26BF

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

Preview Lab → · Contrast checker → · Palette generator →

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