#8A37B4#8A37B4

#8A37B4 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 311.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A37B4
RGBrgb(138, 55, 180)
HSLhsl(280, 53%, 46%)
HSVhsv(280, 69%, 71%)
CMYKcmyk(23.3%, 69.4%, 0%, 29.4%)
CIE-LABlab(40.30, 55.15, -51.16)
CIE-LCHlch(40.30, 75.22, 317.15°)
OKLaboklab(50.96% 0.1297 -0.1444)
OKLCHoklch(50.96% 0.194 311.9)
XYZxyz(20.0841, 11.4315, 44.3197)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37B4 #61B437
analogous
#4B37B4 #8A37B4 #B4379F
triadic
#8A37B4 #B48A37 #37B48A
tetradic
#8A37B4 #B44B37 #61B437 #379FB4
square
#8A37B4 #B44B37 #61B437 #379FB4
split-complementary
#8A37B4 #9FB437 #37B44B
monochromatic
#421A56 #662985 #8A37B4 #A75BCD #C08ADB

Accessibility & contrast

On white

6.39
#8A37B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A37B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37B4
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37B4#FFFFFF#000000##FFFFFF
##8A37B41.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#855171
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a37b4;
/* rgb */ color: rgb(138, 55, 180);
/* oklch */ color: oklch(51.0% 0.194 311.9);
Tailwind
colors: {
  custom: {
    50: '#b075cb',
    500: '#8a37b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a37b4;
$custom-light: #b075cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37b4",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 279.84,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.19413,
    "h": 311.9
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#8A37B4
secondary
#98C681
accent
#DD4B7C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8A37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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