#9738DD#9738DD

#9738DD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.7% C 0.236 H 306.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9738DD
RGBrgb(151, 56, 221)
HSLhsl(275, 71%, 54%)
HSVhsv(275, 75%, 87%)
CMYKcmyk(31.7%, 74.7%, 0%, 13.3%)
CIE-LABlab(45.12, 66.14, -67.05)
CIE-LCHlch(45.12, 94.19, 314.61°)
OKLaboklab(55.67% 0.1395 -0.1907)
OKLCHoklch(55.67% 0.236 306.2)
XYZxyz(27.2249, 14.6284, 69.7819)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738DD #7EDD38
analogous
#4538DD #9738DD #DD38D1
triadic
#9738DD #DD9738 #38DD97
tetradic
#9738DD #DD4538 #7EDD38 #38D1DD
square
#9738DD #DD4538 #7EDD38 #38D1DD
split-complementary
#9738DD #D1DD38 #38DD45
monochromatic
#561784 #771FB8 #9738DD #B26CE6 #CEA1EF

Accessibility & contrast

On white

5.35
#9738DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9738DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738DD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738DD#FFFFFF#000000##FFFFFF
##9738DD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#8B6189
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9738dd;
/* rgb */ color: rgb(151, 56, 221);
/* oklch */ color: oklch(55.7% 0.236 306.2);
Tailwind
colors: {
  custom: {
    50: '#bb78e9',
    500: '#9738dd',
    950: '#000000',
  },
}
SCSS
$custom: #9738dd;
$custom-light: #bb78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9738dd",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 274.545,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.23629,
    "h": 306.2
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#9738DD
secondary
#B3DB95
accent
#EE3A86
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9738DD

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

Preview Lab → · Contrast checker → · Palette generator →

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