#9738DE#9738DE

#9738DE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.7% C 0.237 H 306.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9738DE
RGBrgb(151, 56, 222)
HSLhsl(274, 72%, 55%)
HSVhsv(274, 75%, 87%)
CMYKcmyk(32%, 74.8%, 0%, 12.9%)
CIE-LABlab(45.20, 66.36, -67.50)
CIE-LCHlch(45.20, 94.66, 314.51°)
OKLaboklab(55.74% 0.1393 -0.192)
OKLCHoklch(55.74% 0.237 306)
XYZxyz(27.3586, 14.6818, 70.4857)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738DE #7FDE38
analogous
#4438DE #9738DE #DE38D2
triadic
#9738DE #DE9738 #38DE97
tetradic
#9738DE #DE4438 #7FDE38 #38D2DE
square
#9738DE #DE4438 #7FDE38 #38D2DE
split-complementary
#9738DE #D2DE38 #38DE44
monochromatic
#561685 #781FBA #9738DE #B26CE7 #CEA1EF

Accessibility & contrast

On white

5.33
#9738DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9738DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738DE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738DE#FFFFFF#000000##FFFFFF
##9738DE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#8A6189
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9738de;
/* rgb */ color: rgb(151, 56, 222);
/* oklch */ color: oklch(55.7% 0.237 306.0);
Tailwind
colors: {
  custom: {
    50: '#bb78e9',
    500: '#9738de',
    950: '#000000',
  },
}
SCSS
$custom: #9738de;
$custom-light: #bb78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9738de",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 222
  },
  "hsl": {
    "h": 274.337,
    "s": 71.552,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55743,
    "c": 0.23724,
    "h": 306
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#9738DE
secondary
#B4DC96
accent
#EE3A87
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9738DE

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

Preview Lab → · Contrast checker → · Palette generator →

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