#8A30C0#8A30C0

#8A30C0 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.214 H 309.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A30C0
RGBrgb(138, 48, 192)
HSLhsl(278, 60%, 47%)
HSVhsv(278, 75%, 75%)
CMYKcmyk(28.1%, 75%, 0%, 24.7%)
CIE-LABlab(40.12, 60.62, -58.50)
CIE-LCHlch(40.12, 84.24, 316.02°)
OKLaboklab(51.1% 0.1349 -0.166)
OKLCHoklch(51.1% 0.214 309.1)
XYZxyz(21.0507, 11.3233, 50.9356)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30C0 #66C030
analogous
#4230C0 #8A30C0 #C030AE
triadic
#8A30C0 #C08A30 #30C08A
tetradic
#8A30C0 #C04230 #66C030 #30AEC0
square
#8A30C0 #C04230 #66C030 #30AEC0
split-complementary
#8A30C0 #AEC030 #30C042
monochromatic
#44185E #67248F #8A30C0 #A658D5 #C089E1

Accessibility & contrast

On white

6.43
#8A30C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A30C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30C0
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30C0#FFFFFF#000000##FFFFFF
##8A30C01.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#825276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a30c0;
/* rgb */ color: rgb(138, 48, 192);
/* oklch */ color: oklch(51.1% 0.214 309.1);
Tailwind
colors: {
  custom: {
    50: '#b172d4',
    500: '#8a30c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a30c0;
$custom-light: #b172d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30c0",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 277.5,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51098,
    "c": 0.21388,
    "h": 309.1
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#8A30C0
secondary
#9DCB80
accent
#E34580
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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