#8730CC#8730CC

#8730CC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.225 H 304.8°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8730CC
RGBrgb(135, 48, 204)
HSLhsl(273, 62%, 49%)
HSVhsv(273, 76%, 80%)
CMYKcmyk(33.8%, 76.5%, 0%, 20%)
CIE-LABlab(40.61, 62.72, -64.71)
CIE-LCHlch(40.61, 90.11, 314.11°)
OKLaboklab(51.64% 0.1283 -0.1843)
OKLCHoklch(51.64% 0.225 304.8)
XYZxyz(21.9452, 11.6246, 58.2027)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730CC #75CC30
analogous
#3930CC #8730CC #CC30C3
triadic
#8730CC #CC8730 #30CC87
tetradic
#8730CC #CC3930 #75CC30 #30C3CC
square
#8730CC #CC3930 #75CC30 #30C3CC
split-complementary
#8730CC #C3CC30 #30CC39
monochromatic
#451969 #66249A #8730CC #A460DA #C091E5

Accessibility & contrast

On white

6.32
#8730CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8730CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730CC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730CC#FFFFFF#000000##FFFFFF
##8730CC1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#7A587D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8730cc;
/* rgb */ color: rgb(135, 48, 204);
/* oklch */ color: oklch(51.6% 0.225 304.8);
Tailwind
colors: {
  custom: {
    50: '#b072dd',
    500: '#8730cc',
    950: '#000000',
  },
}
SCSS
$custom: #8730cc;
$custom-light: #b072dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8730cc",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 204
  },
  "hsl": {
    "h": 273.462,
    "s": 61.905,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.22459,
    "h": 304.8
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#8730CC
secondary
#A8D088
accent
#E5438B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8730CC

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

Preview Lab → · Contrast checker → · Palette generator →

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