#8A30C7#8A30C7

#8A30C7 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.221 H 307.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A30C7
RGBrgb(138, 48, 199)
HSLhsl(276, 61%, 48%)
HSVhsv(276, 76%, 78%)
CMYKcmyk(30.7%, 75.9%, 0%, 22%)
CIE-LABlab(40.64, 62.13, -61.74)
CIE-LCHlch(40.64, 87.59, 315.18°)
OKLaboklab(51.63% 0.1335 -0.1755)
OKLCHoklch(51.63% 0.221 307.3)
XYZxyz(21.8448, 11.6410, 55.1179)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30C7 #6DC730
analogous
#3F30C7 #8A30C7 #C730B8
triadic
#8A30C7 #C78A30 #30C78A
tetradic
#8A30C7 #C73F30 #6DC730 #30B8C7
square
#8A30C7 #C73F30 #6DC730 #30B8C7
split-complementary
#8A30C7 #B8C730 #30C73F
monochromatic
#461864 #682496 #8A30C7 #A65CD8 #C18EE4

Accessibility & contrast

On white

6.31
#8A30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30C7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30C7#FFFFFF#000000##FFFFFF
##8A30C71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#80557A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a30c7;
/* rgb */ color: rgb(138, 48, 199);
/* oklch */ color: oklch(51.6% 0.221 307.3);
Tailwind
colors: {
  custom: {
    50: '#b272d9',
    500: '#8a30c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a30c7;
$custom-light: #b272d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30c7",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 275.762,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.22052,
    "h": 307.3
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#8A30C7
secondary
#A2CE85
accent
#E44484
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8A30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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