#9F30DA#9F30DA

#9F30DA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.7% C 0.243 H 310.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9F30DA
RGBrgb(159, 48, 218)
HSLhsl(279, 70%, 52%)
HSVhsv(279, 78%, 85%)
CMYKcmyk(27.1%, 78%, 0%, 14.5%)
CIE-LABlab(45.01, 69.76, -65.47)
CIE-LCHlch(45.01, 95.67, 316.81°)
OKLaboklab(55.75% 0.1573 -0.1857)
OKLCHoklch(55.75% 0.243 310.3)
XYZxyz(28.0074, 14.5474, 67.6486)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F30DA #6BDA30
analogous
#4A30DA #9F30DA #DA30C0
triadic
#9F30DA #DA9F30 #30DA9F
tetradic
#9F30DA #DA4A30 #6BDA30 #30C0DA
square
#9F30DA #DA4A30 #6BDA30 #30C0DA
split-complementary
#9F30DA #C0DA30 #30DA4A
monochromatic
#57167A #7C1FAE #9F30DA #B764E3 #CF98ED

Accessibility & contrast

On white

5.37
#9F30DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9F30DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F30DA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F30DA#FFFFFF#000000##FFFFFF
##9F30DA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DF
Deuteranopia (green-blind)
#006CD7
Tritanopia (blue-blind)
#975B85
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f30da;
/* rgb */ color: rgb(159, 48, 218);
/* oklch */ color: oklch(55.7% 0.243 310.3);
Tailwind
colors: {
  custom: {
    50: '#c175e6',
    500: '#9f30da',
    950: '#000000',
  },
}
SCSS
$custom: #9f30da;
$custom-light: #c175e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f30da",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 218
  },
  "hsl": {
    "h": 279.176,
    "s": 69.672,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.24338,
    "h": 310.3
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#9F30DA
secondary
#A8D88E
accent
#EC3B79
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9F30DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9F30DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva