#9748C2#9748C2

#9748C2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.190 H 311.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9748C2
RGBrgb(151, 72, 194)
HSLhsl(279, 50%, 52%)
HSVhsv(279, 63%, 76%)
CMYKcmyk(22.2%, 62.9%, 0%, 23.9%)
CIE-LABlab(45.78, 53.26, -50.44)
CIE-LCHlch(45.78, 73.36, 316.56°)
OKLaboklab(55.56% 0.1261 -0.142)
OKLCHoklch(55.56% 0.19 311.6)
XYZxyz(24.8157, 15.1097, 52.6377)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748C2 #73C248
analogous
#5A48C2 #9748C2 #C248B0
triadic
#9748C2 #C29748 #48C297
tetradic
#9748C2 #C25A48 #73C248 #48B0C2
square
#9748C2 #C25A48 #73C248 #48B0C2
split-complementary
#9748C2 #B0C248 #48C25A
monochromatic
#52246C #76339A #9748C2 #B176D1 #CBA4E1

Accessibility & contrast

On white

5.22
#9748C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9748C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748C2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748C2#FFFFFF#000000##FFFFFF
##9748C21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F69C6
Deuteranopia (green-blind)
#3D6EBF
Tritanopia (blue-blind)
#925F7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9748c2;
/* rgb */ color: rgb(151, 72, 194);
/* oklch */ color: oklch(55.6% 0.190 311.6);
Tailwind
colors: {
  custom: {
    50: '#b980d5',
    500: '#9748c2',
    950: '#000000',
  },
}
SCSS
$custom: #9748c2;
$custom-light: #b980d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9748c2",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 278.852,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.18995,
    "h": 311.6
  },
  "luminance": 0.15109
}

Semantic roles & 50–950 ramp

primary
#9748C2
secondary
#ABCE98
accent
#DA4E7F
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9748C2

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

Preview Lab → · Contrast checker → · Palette generator →

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