#8730C9#8730C9

#8730C9 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.222 H 305.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8730C9
RGBrgb(135, 48, 201)
HSLhsl(274, 61%, 49%)
HSVhsv(274, 76%, 79%)
CMYKcmyk(32.8%, 76.1%, 0%, 21.2%)
CIE-LABlab(40.38, 62.05, -63.34)
CIE-LCHlch(40.38, 88.67, 314.41°)
OKLaboklab(51.41% 0.129 -0.1803)
OKLCHoklch(51.41% 0.222 305.6)
XYZxyz(21.5889, 11.4820, 56.3259)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8730C9 #72C930
analogous
#3B30C9 #8730C9 #C930BF
triadic
#8730C9 #C98730 #30C987
tetradic
#8730C9 #C93B30 #72C930 #30BFC9
square
#8730C9 #C93B30 #72C930 #30BFC9
split-complementary
#8730C9 #BFC930 #30C93B
monochromatic
#451866 #662498 #8730C9 #A45ED8 #C08FE4

Accessibility & contrast

On white

6.37
#8730C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8730C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8730C9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8730C9#FFFFFF#000000##FFFFFF
##8730C91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#7B577B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8730c9;
/* rgb */ color: rgb(135, 48, 201);
/* oklch */ color: oklch(51.4% 0.222 305.6);
Tailwind
colors: {
  custom: {
    50: '#b072da',
    500: '#8730c9',
    950: '#000000',
  },
}
SCSS
$custom: #8730c9;
$custom-light: #b072da;
$custom-dark: #000000;
JSON
{
  "hex": "#8730c9",
  "rgb": {
    "r": 135,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 274.118,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.22171,
    "h": 305.6
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#8730C9
secondary
#A5CF86
accent
#E54389
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8730C9

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

Preview Lab → · Contrast checker → · Palette generator →

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