#9938D0#9938D0

#9938D0 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.225 H 310.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9938D0
RGBrgb(153, 56, 208)
HSLhsl(278, 62%, 52%)
HSVhsv(278, 73%, 82%)
CMYKcmyk(26.4%, 73.1%, 0%, 18.4%)
CIE-LABlab(44.45, 63.72, -60.67)
CIE-LCHlch(44.45, 87.98, 316.41°)
OKLaboklab(54.96% 0.1445 -0.1719)
OKLCHoklch(54.96% 0.225 310.1)
XYZxyz(25.9340, 14.1553, 61.0283)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9938D0 #6FD038
analogous
#4D38D0 #9938D0 #D038BB
triadic
#9938D0 #D09938 #38D099
tetradic
#9938D0 #D04D38 #6FD038 #38BBD0
square
#9938D0 #D04D38 #6FD038 #38BBD0
split-complementary
#9938D0 #BBD038 #38D04D
monochromatic
#531B73 #7727A4 #9938D0 #B26ADC #CC9BE7

Accessibility & contrast

On white

5.48
#9938D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9938D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9938D0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9938D0#FFFFFF#000000##FFFFFF
##9938D01.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#156BCD
Tritanopia (blue-blind)
#915B81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9938d0;
/* rgb */ color: rgb(153, 56, 208);
/* oklch */ color: oklch(55.0% 0.225 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc78df',
    500: '#9938d0',
    950: '#000000',
  },
}
SCSS
$custom: #9938d0;
$custom-light: #bc78df;
$custom-dark: #000000;
JSON
{
  "hex": "#9938d0",
  "rgb": {
    "r": 153,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 278.289,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.22455,
    "h": 310.1
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#9938D0
secondary
#A9D391
accent
#E5437E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9938D0

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

Preview Lab → · Contrast checker → · Palette generator →

#9938D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva