#9738D3#9738D3

#9738D3 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.9% C 0.227 H 308.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9738D3
RGBrgb(151, 56, 211)
HSLhsl(277, 64%, 52%)
HSVhsv(277, 73%, 83%)
CMYKcmyk(28.4%, 73.5%, 0%, 17.3%)
CIE-LABlab(44.39, 63.98, -62.51)
CIE-LCHlch(44.39, 89.45, 315.67°)
OKLaboklab(54.93% 0.1414 -0.1774)
OKLCHoklch(54.93% 0.227 308.6)
XYZxyz(25.9321, 14.1112, 62.9730)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738D3 #74D338
analogous
#4938D3 #9738D3 #D338C2
triadic
#9738D3 #D39738 #38D397
tetradic
#9738D3 #D34938 #74D338 #38C2D3
square
#9738D3 #D34938 #74D338 #38C2D3
split-complementary
#9738D3 #C2D338 #38D349
monochromatic
#531A76 #7625A9 #9738D3 #B16ADE #CB9CE9

Accessibility & contrast

On white

5.49
#9738D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9738D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738D3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738D3#FFFFFF#000000##FFFFFF
##9738D31.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#8E5D83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9738d3;
/* rgb */ color: rgb(151, 56, 211);
/* oklch */ color: oklch(54.9% 0.227 308.6);
Tailwind
colors: {
  custom: {
    50: '#bb78e1',
    500: '#9738d3',
    950: '#000000',
  },
}
SCSS
$custom: #9738d3;
$custom-light: #bb78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9738d3",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 276.774,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.22681,
    "h": 308.6
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#9738D3
secondary
#ACD592
accent
#E74181
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9738D3

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

Preview Lab → · Contrast checker → · Palette generator →

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