#8730BA#8730BA

#8730BA is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.207 H 309.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8730BA
RGBrgb(135, 48, 186)
HSLhsl(278, 59%, 46%)
HSVhsv(278, 74%, 73%)
CMYKcmyk(27.4%, 74.2%, 0%, 27.1%)
CIE-LABlab(39.26, 58.76, -56.39)
CIE-LCHlch(39.26, 81.44, 316.18°)
OKLaboklab(50.27% 0.132 -0.1599)
OKLCHoklch(50.27% 0.207 309.5)
XYZxyz(19.9098, 10.8104, 47.4826)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730BA #63BA30
analogous
#4230BA #8730BA #BA30A8
triadic
#8730BA #BA8730 #30BA87
tetradic
#8730BA #BA4230 #63BA30 #30A8BA
square
#8730BA #BA4230 #63BA30 #30A8BA
split-complementary
#8730BA #A8BA30 #30BA42
monochromatic
#401759 #642389 #8730BA #A454D3 #BE85DF

Accessibility & contrast

On white

6.64
#8730BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8730BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730BA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730BA#FFFFFF#000000##FFFFFF
##8730BA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#085EB7
Tritanopia (blue-blind)
#805073
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8730ba;
/* rgb */ color: rgb(135, 48, 186);
/* oklch */ color: oklch(50.3% 0.207 309.5);
Tailwind
colors: {
  custom: {
    50: '#af71d0',
    500: '#8730ba',
    950: '#000000',
  },
}
SCSS
$custom: #8730ba;
$custom-light: #af71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8730ba",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 277.826,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.20732,
    "h": 309.5
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#8730BA
secondary
#99C97D
accent
#E2467F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8730BA

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

Preview Lab → · Contrast checker → · Palette generator →

#8730BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva