#9738D0#9738D0

#9738D0 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.224 H 309.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9738D0
RGBrgb(151, 56, 208)
HSLhsl(278, 62%, 52%)
HSVhsv(278, 73%, 82%)
CMYKcmyk(27.4%, 73.1%, 0%, 18.4%)
CIE-LABlab(44.18, 63.34, -61.13)
CIE-LCHlch(44.18, 88.03, 316.02°)
OKLaboklab(54.71% 0.1419 -0.1733)
OKLCHoklch(54.71% 0.224 309.3)
XYZxyz(25.5595, 13.9622, 61.0108)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738D0 #71D038
analogous
#4B38D0 #9738D0 #D038BD
triadic
#9738D0 #D09738 #38D097
tetradic
#9738D0 #D04B38 #71D038 #38BDD0
square
#9738D0 #D04B38 #71D038 #38BDD0
split-complementary
#9738D0 #BDD038 #38D04B
monochromatic
#521B73 #7527A4 #9738D0 #B16ADC #CB9BE7

Accessibility & contrast

On white

5.54
#9738D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9738D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738D0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738D0#FFFFFF#000000##FFFFFF
##9738D01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0D6ACD
Tritanopia (blue-blind)
#8F5B81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9738d0;
/* rgb */ color: rgb(151, 56, 208);
/* oklch */ color: oklch(54.7% 0.224 309.3);
Tailwind
colors: {
  custom: {
    50: '#bb77df',
    500: '#9738d0',
    950: '#000000',
  },
}
SCSS
$custom: #9738d0;
$custom-light: #bb77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9738d0",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 277.5,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.22398,
    "h": 309.3
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#9738D0
secondary
#AAD391
accent
#E54380
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9738D0

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

Preview Lab → · Contrast checker → · Palette generator →

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