#9748DB#9748DB

#9748DB is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.216 H 305.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9748DB
RGBrgb(151, 72, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(31.1%, 67.1%, 0%, 14.1%)
CIE-LABlab(47.40, 58.86, -62.21)
CIE-LCHlch(47.40, 85.65, 313.41°)
OKLaboklab(57.24% 0.1243 -0.1766)
OKLCHoklch(57.24% 0.216 305.1)
XYZxyz(27.8632, 16.3287, 68.6880)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748DB #8CDB48
analogous
#4E48DB #9748DB #DB48D5
triadic
#9748DB #DB9748 #48DB97
tetradic
#9748DB #DB4E48 #8CDB48 #48D5DB
square
#9748DB #DB4E48 #8CDB48 #48D5DB
split-complementary
#9748DB #D5DB48 #48DB4E
monochromatic
#591C8D #7926C0 #9748DB #B47BE5 #D1AEEF

Accessibility & contrast

On white

4.92
#9748DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9748DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748DB#FFFFFF#000000##FFFFFF
##9748DB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#1671D8
Tritanopia (blue-blind)
#8B698C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9748db;
/* rgb */ color: rgb(151, 72, 219);
/* oklch */ color: oklch(57.2% 0.216 305.1);
Tailwind
colors: {
  custom: {
    50: '#ba80e7',
    500: '#9748db',
    950: '#000000',
  },
}
SCSS
$custom: #9748db;
$custom-light: #ba80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9748db",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 272.245,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.21595,
    "h": 305.1
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#9748DB
secondary
#BDDDA2
accent
#EA3E8D
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9748DB

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

Preview Lab → · Contrast checker → · Palette generator →

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