#8A37C8#8A37C8

#8A37C8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.214 H 306.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A37C8
RGBrgb(138, 55, 200)
HSLhsl(274, 57%, 50%)
HSVhsv(274, 73%, 78%)
CMYKcmyk(31%, 72.5%, 0%, 21.6%)
CIE-LABlab(41.70, 59.55, -60.60)
CIE-LCHlch(41.70, 84.96, 314.50°)
OKLaboklab(52.4% 0.1269 -0.1722)
OKLCHoklch(52.4% 0.214 306.4)
XYZxyz(22.2705, 12.3060, 55.8344)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A37C8 #75C837
analogous
#4237C8 #8A37C8 #C837BD
triadic
#8A37C8 #C88A37 #37C88A
tetradic
#8A37C8 #C84237 #75C837 #37BDC8
square
#8A37C8 #C84237 #75C837 #37BDC8
split-complementary
#8A37C8 #BDC837 #37C842
monochromatic
#481D68 #692A98 #8A37C8 #A667D5 #C297E2

Accessibility & contrast

On white

6.07
#8A37C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A37C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A37C8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A37C8#FFFFFF#000000##FFFFFF
##8A37C81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#7F597C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a37c8;
/* rgb */ color: rgb(138, 55, 200);
/* oklch */ color: oklch(52.4% 0.214 306.4);
Tailwind
colors: {
  custom: {
    50: '#b175da',
    500: '#8a37c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a37c8;
$custom-light: #b175da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a37c8",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 274.345,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.21392,
    "h": 306.4
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#8A37C8
secondary
#A9CE8D
accent
#E04889
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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