#8A33B7#8A33B7

#8A33B7 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.7% C 0.202 H 311.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8A33B7
RGBrgb(138, 51, 183)
HSLhsl(280, 56%, 46%)
HSVhsv(280, 72%, 72%)
CMYKcmyk(24.6%, 72.1%, 0%, 28.2%)
CIE-LABlab(39.90, 57.49, -53.57)
CIE-LCHlch(39.90, 78.58, 317.02°)
OKLaboklab(50.74% 0.1335 -0.1515)
OKLCHoklch(50.74% 0.202 311.4)
XYZxyz(20.2107, 11.1903, 45.8858)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B7 #60B733
analogous
#4833B7 #8A33B7 #B733A2
triadic
#8A33B7 #B78A33 #33B78A
tetradic
#8A33B7 #B74833 #60B733 #33A2B7
square
#8A33B7 #B74833 #60B733 #33A2B7
split-complementary
#8A33B7 #A2B733 #33B748
monochromatic
#421857 #662687 #8A33B7 #A757D0 #C087DE

Accessibility & contrast

On white

6.49
#8A33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33B7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B7#FFFFFF#000000##FFFFFF
##8A33B71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#1F60B4
Tritanopia (blue-blind)
#845072
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a33b7;
/* rgb */ color: rgb(138, 51, 183);
/* oklch */ color: oklch(50.7% 0.202 311.4);
Tailwind
colors: {
  custom: {
    50: '#b073cd',
    500: '#8a33b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b7;
$custom-light: #b073cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b7",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 279.545,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5074,
    "c": 0.20193,
    "h": 311.4
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#8A33B7
secondary
#97C77F
accent
#E0487C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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