#9748DC#9748DC

#9748DC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.217 H 304.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9748DC
RGBrgb(151, 72, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(31.4%, 67.3%, 0%, 13.7%)
CIE-LABlab(47.47, 59.09, -62.67)
CIE-LCHlch(47.47, 86.14, 313.32°)
OKLaboklab(57.31% 0.1242 -0.1779)
OKLCHoklch(57.31% 0.217 304.9)
XYZxyz(27.9952, 16.3815, 69.3834)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748DC #8DDC48
analogous
#4D48DC #9748DC #DC48D7
triadic
#9748DC #DC9748 #48DC97
tetradic
#9748DC #DC4D48 #8DDC48 #48D7DC
square
#9748DC #DC4D48 #8DDC48 #48D7DC
split-complementary
#9748DC #D7DC48 #48DC4D
monochromatic
#591B8E #7925C2 #9748DC #B47BE6 #D1AFF0

Accessibility & contrast

On white

4.91
#9748DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9748DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748DC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748DC#FFFFFF#000000##FFFFFF
##9748DC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#1371D9
Tritanopia (blue-blind)
#8A698C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9748dc;
/* rgb */ color: rgb(151, 72, 220);
/* oklch */ color: oklch(57.3% 0.217 304.9);
Tailwind
colors: {
  custom: {
    50: '#bb80e8',
    500: '#9748dc',
    950: '#000000',
  },
}
SCSS
$custom: #9748dc;
$custom-light: #bb80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9748dc",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 272.027,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.21699,
    "h": 304.9
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#9748DC
secondary
#BEDEA2
accent
#EB3D8E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9748DC

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

Preview Lab → · Contrast checker → · Palette generator →

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