#9748D9#9748D9

#9748D9 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.214 H 305.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9748D9
RGBrgb(151, 72, 217)
HSLhsl(273, 66%, 57%)
HSVhsv(273, 67%, 85%)
CMYKcmyk(30.4%, 66.8%, 0%, 14.9%)
CIE-LABlab(47.27, 58.40, -61.29)
CIE-LCHlch(47.27, 84.66, 313.62°)
OKLaboklab(57.1% 0.1245 -0.1739)
OKLCHoklch(57.1% 0.214 305.6)
XYZxyz(27.6015, 16.2240, 67.3096)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748D9 #8AD948
analogous
#4F48D9 #9748D9 #D948D2
triadic
#9748D9 #D99748 #48D997
tetradic
#9748D9 #D94F48 #8AD948 #48D2D9
square
#9748D9 #D94F48 #8AD948 #48D2D9
split-complementary
#9748D9 #D2D948 #48D94F
monochromatic
#581D8A #7927BD #9748D9 #B47BE4 #D1ADEE

Accessibility & contrast

On white

4.95
#9748D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9748D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748D9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748D9#FFFFFF#000000##FFFFFF
##9748D91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#1B70D6
Tritanopia (blue-blind)
#8B688B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9748d9;
/* rgb */ color: rgb(151, 72, 217);
/* oklch */ color: oklch(57.1% 0.214 305.6);
Tailwind
colors: {
  custom: {
    50: '#ba80e6',
    500: '#9748d9',
    950: '#000000',
  },
}
SCSS
$custom: #9748d9;
$custom-light: #ba80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9748d9",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 272.69,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.21387,
    "h": 305.6
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#9748D9
secondary
#BCDCA1
accent
#E93F8C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9748D9

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

Preview Lab → · Contrast checker → · Palette generator →

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