#9730D6#9730D6

#9730D6 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.4% C 0.238 H 308.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9730D6
RGBrgb(151, 48, 214)
HSLhsl(277, 67%, 51%)
HSVhsv(277, 78%, 84%)
CMYKcmyk(29.4%, 77.6%, 0%, 16.1%)
CIE-LABlab(43.58, 67.58, -65.55)
CIE-LCHlch(43.58, 94.15, 315.87°)
OKLaboklab(54.42% 0.1477 -0.1862)
OKLCHoklch(54.42% 0.238 308.4)
XYZxyz(25.9545, 13.5487, 64.8532)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730D6 #6FD630
analogous
#4430D6 #9730D6 #D630C2
triadic
#9730D6 #D69730 #30D697
tetradic
#9730D6 #D64430 #6FD630 #30C2D6
square
#9730D6 #D64430 #6FD630 #30C2D6
split-complementary
#9730D6 #C2D630 #30D644
monochromatic
#511775 #7521A8 #9730D6 #B163E0 #CA96EA

Accessibility & contrast

On white

5.66
#9730D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9730D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730D6
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730D6#FFFFFF#000000##FFFFFF
##9730D61.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#0068D3
Tritanopia (blue-blind)
#8D5A83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9730d6;
/* rgb */ color: rgb(151, 48, 214);
/* oklch */ color: oklch(54.4% 0.238 308.4);
Tailwind
colors: {
  custom: {
    50: '#bb74e4',
    500: '#9730d6',
    950: '#000000',
  },
}
SCSS
$custom: #9730d6;
$custom-light: #bb74e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9730d6",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 214
  },
  "hsl": {
    "h": 277.229,
    "s": 66.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54421,
    "c": 0.23768,
    "h": 308.4
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#9730D6
secondary
#A8D58C
accent
#EA3E7F
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9730D6

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

Preview Lab → · Contrast checker → · Palette generator →

#9730D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva