#9748C0#9748C0

#9748C0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.188 H 312.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9748C0
RGBrgb(151, 72, 192)
HSLhsl(280, 49%, 52%)
HSVhsv(280, 63%, 75%)
CMYKcmyk(21.4%, 62.5%, 0%, 24.7%)
CIE-LABlab(45.66, 52.82, -49.48)
CIE-LCHlch(45.66, 72.38, 316.87°)
OKLaboklab(55.44% 0.1262 -0.1392)
OKLCHoklch(55.44% 0.188 312.2)
XYZxyz(24.5926, 15.0204, 51.4627)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748C0 #71C048
analogous
#5B48C0 #9748C0 #C048AD
triadic
#9748C0 #C09748 #48C097
tetradic
#9748C0 #C05B48 #71C048 #48ADC0
square
#9748C0 #C05B48 #71C048 #48ADC0
split-complementary
#9748C0 #ADC048 #48C05B
monochromatic
#522469 #753497 #9748C0 #B176D0 #CBA3DF

Accessibility & contrast

On white

5.24
#9748C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9748C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748C0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748C0#FFFFFF#000000##FFFFFF
##9748C01.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C4
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#925F7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9748c0;
/* rgb */ color: rgb(151, 72, 192);
/* oklch */ color: oklch(55.4% 0.188 312.2);
Tailwind
colors: {
  custom: {
    50: '#b980d4',
    500: '#9748c0',
    950: '#000000',
  },
}
SCSS
$custom: #9748c0;
$custom-light: #b980d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9748c0",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 192
  },
  "hsl": {
    "h": 279.5,
    "s": 48.78,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.18788,
    "h": 312.2
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#9748C0
secondary
#AACC98
accent
#D84F7E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9748C0

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

Preview Lab → · Contrast checker → · Palette generator →

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