#8A37BF#8A37BF

#8A37BF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.205 H 308.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A37BF
RGBrgb(138, 55, 191)
HSLhsl(277, 55%, 48%)
HSVhsv(277, 71%, 75%)
CMYKcmyk(27.7%, 71.2%, 0%, 25.1%)
CIE-LABlab(41.05, 57.55, -56.40)
CIE-LCHlch(41.05, 80.58, 315.58°)
OKLaboklab(51.74% 0.1284 -0.1598)
OKLCHoklch(51.74% 0.205 308.8)
XYZxyz(21.2495, 11.8976, 50.4572)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37BF #6CBF37
analogous
#4637BF #8A37BF #BF37B0
triadic
#8A37BF #BF8A37 #37BF8A
tetradic
#8A37BF #BF4637 #6CBF37 #37B0BF
square
#8A37BF #BF4637 #6CBF37 #37B0BF
split-complementary
#8A37BF #B0BF37 #37BF46
monochromatic
#451C60 #68298F #8A37BF #A662D2 #C191DF

Accessibility & contrast

On white

6.21
#8A37BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A37BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37BF#FFFFFF#000000##FFFFFF
##8A37BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#1562BC
Tritanopia (blue-blind)
#825677
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a37bf;
/* rgb */ color: rgb(138, 55, 191);
/* oklch */ color: oklch(51.7% 0.205 308.8);
Tailwind
colors: {
  custom: {
    50: '#b175d3',
    500: '#8a37bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a37bf;
$custom-light: #b175d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37bf",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 276.618,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.20501,
    "h": 308.8
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

primary
#8A37BF
secondary
#A2CA88
accent
#DF4983
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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