#9930D3#9930D3

#9930D3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.5% C 0.236 H 309.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9930D3
RGBrgb(153, 48, 211)
HSLhsl(279, 65%, 51%)
HSVhsv(279, 77%, 83%)
CMYKcmyk(27.5%, 77.3%, 0%, 17.3%)
CIE-LABlab(43.64, 67.30, -63.72)
CIE-LCHlch(43.64, 92.68, 316.57°)
OKLaboklab(54.45% 0.1509 -0.1808)
OKLCHoklch(54.45% 0.236 309.9)
XYZxyz(25.9493, 13.5899, 62.8715)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9930D3 #6AD330
analogous
#4730D3 #9930D3 #D330BC
triadic
#9930D3 #D39930 #30D399
tetradic
#9930D3 #D34730 #6AD330 #30BCD3
square
#9930D3 #D34730 #6AD330 #30BCD3
split-complementary
#9930D3 #BCD330 #30D347
monochromatic
#511871 #7523A3 #9930D3 #B262DE #CB95E8

Accessibility & contrast

On white

5.65
#9930D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9930D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9930D3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9930D3#FFFFFF#000000##FFFFFF
##9930D31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#915881
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9930d3;
/* rgb */ color: rgb(153, 48, 211);
/* oklch */ color: oklch(54.5% 0.236 309.9);
Tailwind
colors: {
  custom: {
    50: '#bc74e1',
    500: '#9930d3',
    950: '#000000',
  },
}
SCSS
$custom: #9930d3;
$custom-light: #bc74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9930d3",
  "rgb": {
    "r": 153,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 278.65,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.23552,
    "h": 309.9
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#9930D3
secondary
#A5D48B
accent
#E8407C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9930D3

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

Preview Lab → · Contrast checker → · Palette generator →

#9930D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva