#9748EB#9748EB

#9748EB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.4% C 0.233 H 301.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9748EB
RGBrgb(151, 72, 235)
HSLhsl(269, 80%, 60%)
HSVhsv(269, 69%, 92%)
CMYKcmyk(35.7%, 69.4%, 0%, 7.8%)
CIE-LABlab(48.53, 62.57, -69.46)
CIE-LCHlch(48.53, 93.49, 312.01°)
OKLaboklab(58.4% 0.1221 -0.1979)
OKLCHoklch(58.4% 0.233 301.7)
XYZxyz(30.0717, 17.2121, 80.3191)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748EB #9CEB48
analogous
#484AEB #9748EB #E948EB
triadic
#9748EB #EB9748 #48EB97
tetradic
#9748EB #EB484A #9CEB48 #48EBE9
square
#9748EB #EB484A #9CEB48 #48EBE9
split-complementary
#9748EB #EBE948 #4AEB48
monochromatic
#5A12A6 #7818DE #9748EB #B67FF1 #D6B6F7

Accessibility & contrast

On white

4.73
#9748EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9748EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748EB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748EB#FFFFFF#000000##FFFFFF
##9748EB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#856F95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9748eb;
/* rgb */ color: rgb(151, 72, 235);
/* oklch */ color: oklch(58.4% 0.233 301.7);
Tailwind
colors: {
  custom: {
    50: '#bc81f2',
    500: '#9748eb',
    950: '#000000',
  },
}
SCSS
$custom: #9748eb;
$custom-light: #bc81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9748eb",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 269.08,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.584,
    "c": 0.23253,
    "h": 301.7
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#9748EB
secondary
#C8E7A8
accent
#DD0976
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9748EB

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

Preview Lab → · Contrast checker → · Palette generator →

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