#9934D2#9934D2

#9934D2 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.7% C 0.231 H 309.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9934D2
RGBrgb(153, 52, 210)
HSLhsl(278, 64%, 51%)
HSVhsv(278, 75%, 82%)
CMYKcmyk(27.1%, 75.2%, 0%, 17.6%)
CIE-LABlab(44.06, 65.66, -62.45)
CIE-LCHlch(44.06, 90.62, 316.43°)
OKLaboklab(54.73% 0.1478 -0.1771)
OKLCHoklch(54.73% 0.231 309.8)
XYZxyz(25.9954, 13.8820, 62.2703)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9934D2 #6DD234
analogous
#4A34D2 #9934D2 #D234BC
triadic
#9934D2 #D29934 #34D299
tetradic
#9934D2 #D24A34 #6DD234 #34BCD2
square
#9934D2 #D24A34 #6DD234 #34BCD2
split-complementary
#9934D2 #BCD234 #34D24A
monochromatic
#521972 #7624A4 #9934D2 #B266DD #CB98E8

Accessibility & contrast

On white

5.56
#9934D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9934D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9934D2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9934D2#FFFFFF#000000##FFFFFF
##9934D21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#006ACF
Tritanopia (blue-blind)
#915A81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9934d2;
/* rgb */ color: rgb(153, 52, 210);
/* oklch */ color: oklch(54.7% 0.231 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc76e1',
    500: '#9934d2',
    950: '#000000',
  },
}
SCSS
$custom: #9934d2;
$custom-light: #bc76e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9934d2",
  "rgb": {
    "r": 153,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 278.354,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.23065,
    "h": 309.8
  },
  "luminance": 0.13881
}

Semantic roles & 50–950 ramp

primary
#9934D2
secondary
#A7D48E
accent
#E7417D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9934D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9934D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva