#9738DA#9738DA

#9738DA is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.4% C 0.233 H 306.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9738DA
RGBrgb(151, 56, 218)
HSLhsl(275, 69%, 54%)
HSVhsv(275, 74%, 85%)
CMYKcmyk(30.7%, 74.3%, 0%, 14.5%)
CIE-LABlab(44.90, 65.49, -65.70)
CIE-LCHlch(44.90, 92.77, 314.91°)
OKLaboklab(55.44% 0.1401 -0.1867)
OKLCHoklch(55.44% 0.233 306.9)
XYZxyz(26.8288, 14.4699, 67.6957)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738DA #7BDA38
analogous
#4638DA #9738DA #DA38CC
triadic
#9738DA #DA9738 #38DA97
tetradic
#9738DA #DA4638 #7BDA38 #38CCDA
square
#9738DA #DA4638 #7BDA38 #38CCDA
split-complementary
#9738DA #CCDA38 #38DA46
monochromatic
#551880 #7721B3 #9738DA #B26CE4 #CD9FED

Accessibility & contrast

On white

5.39
#9738DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9738DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738DA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738DA#FFFFFF#000000##FFFFFF
##9738DA1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#8B6087
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9738da;
/* rgb */ color: rgb(151, 56, 218);
/* oklch */ color: oklch(55.4% 0.233 306.9);
Tailwind
colors: {
  custom: {
    50: '#bb78e6',
    500: '#9738da',
    950: '#000000',
  },
}
SCSS
$custom: #9738da;
$custom-light: #bb78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9738da",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 275.185,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.23345,
    "h": 306.9
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#9738DA
secondary
#B1DA94
accent
#EB3C85
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9738DA

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

Preview Lab → · Contrast checker → · Palette generator →

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