#9748BF#9748BF

#9748BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.187 H 312.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9748BF
RGBrgb(151, 72, 191)
HSLhsl(280, 48%, 52%)
HSVhsv(280, 62%, 75%)
CMYKcmyk(20.9%, 62.3%, 0%, 25.1%)
CIE-LABlab(45.60, 52.61, -48.99)
CIE-LCHlch(45.60, 71.89, 317.04°)
OKLaboklab(55.37% 0.1262 -0.1378)
OKLCHoklch(55.37% 0.187 312.5)
XYZxyz(24.4822, 14.9763, 50.8812)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748BF #70BF48
analogous
#5C48BF #9748BF #BF48AC
triadic
#9748BF #BF9748 #48BF97
tetradic
#9748BF #BF5C48 #70BF48 #48ACBF
square
#9748BF #BF5C48 #70BF48 #48ACBF
split-complementary
#9748BF #ACBF48 #48BF5C
monochromatic
#512468 #753496 #9748BF #B175CF #CBA3DF

Accessibility & contrast

On white

5.26
#9748BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9748BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748BF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748BF#FFFFFF#000000##FFFFFF
##9748BF1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#935E7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9748bf;
/* rgb */ color: rgb(151, 72, 191);
/* oklch */ color: oklch(55.4% 0.187 312.5);
Tailwind
colors: {
  custom: {
    50: '#b980d3',
    500: '#9748bf',
    950: '#000000',
  },
}
SCSS
$custom: #9748bf;
$custom-light: #b980d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9748bf",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 279.832,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55372,
    "c": 0.18685,
    "h": 312.5
  },
  "luminance": 0.14976
}

Semantic roles & 50–950 ramp

primary
#9748BF
secondary
#A9CC97
accent
#D8507E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9748BF

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

Preview Lab → · Contrast checker → · Palette generator →

#9748BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva