#9748DE#9748DE

#9748DE is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.219 H 304.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9748DE
RGBrgb(151, 72, 222)
HSLhsl(272, 69%, 58%)
HSVhsv(272, 68%, 87%)
CMYKcmyk(32%, 67.6%, 0%, 12.9%)
CIE-LABlab(47.61, 59.55, -63.59)
CIE-LCHlch(47.61, 87.12, 313.12°)
OKLaboklab(57.46% 0.124 -0.1806)
OKLCHoklch(57.46% 0.219 304.5)
XYZxyz(28.2617, 16.4881, 70.7867)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748DE #8FDE48
analogous
#4C48DE #9748DE #DE48DA
triadic
#9748DE #DE9748 #48DE97
tetradic
#9748DE #DE4C48 #8FDE48 #48DADE
square
#9748DE #DE4C48 #8FDE48 #48DADE
split-complementary
#9748DE #DADE48 #48DE4C
monochromatic
#591A91 #7924C5 #9748DE #B47CE7 #D2B0F1

Accessibility & contrast

On white

4.89
#9748DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9748DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748DE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748DE#FFFFFF#000000##FFFFFF
##9748DE1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9748de;
/* rgb */ color: rgb(151, 72, 222);
/* oklch */ color: oklch(57.5% 0.219 304.5);
Tailwind
colors: {
  custom: {
    50: '#bb80e9',
    500: '#9748de',
    950: '#000000',
  },
}
SCSS
$custom: #9748de;
$custom-light: #bb80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9748de",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 271.6,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.21907,
    "h": 304.5
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9748DE

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

Preview Lab → · Contrast checker → · Palette generator →

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