#9730CE#9730CE

#9730CE is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.8% C 0.230 H 310.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9730CE
RGBrgb(151, 48, 206)
HSLhsl(279, 62%, 50%)
HSVhsv(279, 77%, 81%)
CMYKcmyk(26.7%, 76.7%, 0%, 19.2%)
CIE-LABlab(42.99, 65.92, -61.90)
CIE-LCHlch(42.99, 90.43, 316.80°)
OKLaboklab(53.82% 0.1494 -0.1755)
OKLCHoklch(53.82% 0.23 310.4)
XYZxyz(24.9578, 13.1500, 59.6040)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9730CE #67CE30
analogous
#4830CE #9730CE #CE30B6
triadic
#9730CE #CE9730 #30CE97
tetradic
#9730CE #CE4830 #67CE30 #30B6CE
square
#9730CE #CE4830 #67CE30 #30B6CE
split-complementary
#9730CE #B6CE30 #30CE48
monochromatic
#4E196B #73249C #9730CE #B061DA #C993E6

Accessibility & contrast

On white

5.79
#9730CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9730CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9730CE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9730CE#FFFFFF#000000##FFFFFF
##9730CE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#8F577E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9730ce;
/* rgb */ color: rgb(151, 48, 206);
/* oklch */ color: oklch(53.8% 0.230 310.4);
Tailwind
colors: {
  custom: {
    50: '#bb74de',
    500: '#9730ce',
    950: '#000000',
  },
}
SCSS
$custom: #9730ce;
$custom-light: #bb74de;
$custom-dark: #000000;
JSON
{
  "hex": "#9730ce",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 279.114,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.23046,
    "h": 310.4
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#9730CE
secondary
#A2D189
accent
#E5437B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9730CE

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

Preview Lab → · Contrast checker → · Palette generator →

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