#9748DD#9748DD

#9748DD is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.218 H 304.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9748DD
RGBrgb(151, 72, 221)
HSLhsl(272, 69%, 57%)
HSVhsv(272, 67%, 87%)
CMYKcmyk(31.7%, 67.4%, 0%, 13.3%)
CIE-LABlab(47.54, 59.32, -63.13)
CIE-LCHlch(47.54, 86.63, 313.22°)
OKLaboklab(57.39% 0.1241 -0.1793)
OKLCHoklch(57.39% 0.218 304.7)
XYZxyz(28.1281, 16.4346, 70.0830)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748DD #8EDD48
analogous
#4C48DD #9748DD #DD48D9
triadic
#9748DD #DD9748 #48DD97
tetradic
#9748DD #DD4C48 #8EDD48 #48D9DD
square
#9748DD #DD4C48 #8EDD48 #48D9DD
split-complementary
#9748DD #D9DD48 #48DD4C
monochromatic
#591B90 #7924C3 #9748DD #B47CE7 #D2AFF0

Accessibility & contrast

On white

4.90
#9748DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9748DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748DD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748DD#FFFFFF#000000##FFFFFF
##9748DD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0F71DA
Tritanopia (blue-blind)
#8A6A8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9748dd;
/* rgb */ color: rgb(151, 72, 221);
/* oklch */ color: oklch(57.4% 0.218 304.7);
Tailwind
colors: {
  custom: {
    50: '#bb80e8',
    500: '#9748dd',
    950: '#000000',
  },
}
SCSS
$custom: #9748dd;
$custom-light: #bb80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9748dd",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 271.812,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.21804,
    "h": 304.7
  },
  "luminance": 0.16434
}

Semantic roles & 50–950 ramp

primary
#9748DD
secondary
#BFDEA2
accent
#EC3C8F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9748DD

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

Preview Lab → · Contrast checker → · Palette generator →

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