#8A30BF#8A30BF

#8A30BF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.213 H 309.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A30BF
RGBrgb(138, 48, 191)
HSLhsl(278, 60%, 47%)
HSVhsv(278, 75%, 75%)
CMYKcmyk(27.7%, 74.9%, 0%, 25.1%)
CIE-LABlab(40.05, 60.40, -58.03)
CIE-LCHlch(40.05, 83.76, 316.15°)
OKLaboklab(51.02% 0.1351 -0.1646)
OKLCHoklch(51.02% 0.213 309.4)
XYZxyz(20.9403, 11.2792, 50.3541)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30BF #65BF30
analogous
#4230BF #8A30BF #BF30AD
triadic
#8A30BF #BF8A30 #30BF8A
tetradic
#8A30BF #BF4230 #65BF30 #30ADBF
square
#8A30BF #BF4230 #65BF30 #30ADBF
split-complementary
#8A30BF #ADBF30 #30BF42
monochromatic
#43175D #67248E #8A30BF #A657D5 #C088E1

Accessibility & contrast

On white

6.45
#8A30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A30BF
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30BF#FFFFFF#000000##FFFFFF
##8A30BF1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#825276
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a30bf;
/* rgb */ color: rgb(138, 48, 191);
/* oklch */ color: oklch(51.0% 0.213 309.4);
Tailwind
colors: {
  custom: {
    50: '#b172d3',
    500: '#8a30bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a30bf;
$custom-light: #b172d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30bf",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 277.762,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.21294,
    "h": 309.4
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#8A30BF
secondary
#9CCB80
accent
#E3457F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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