#9748C8#9748C8

#9748C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 56.0% C 0.196 H 309.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9748C8
RGBrgb(151, 72, 200)
HSLhsl(277, 54%, 53%)
HSVhsv(277, 64%, 78%)
CMYKcmyk(24.5%, 64%, 0%, 21.6%)
CIE-LABlab(46.16, 54.58, -53.32)
CIE-LCHlch(46.16, 76.30, 315.67°)
OKLaboklab(55.95% 0.1259 -0.1505)
OKLCHoklch(55.95% 0.196 309.9)
XYZxyz(25.5032, 15.3847, 56.2584)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748C8 #79C848
analogous
#5748C8 #9748C8 #C848B9
triadic
#9748C8 #C89748 #48C897
tetradic
#9748C8 #C85748 #79C848 #48B9C8
square
#9748C8 #C85748 #79C848 #48B9C8
split-complementary
#9748C8 #B9C848 #48C857
monochromatic
#542373 #7731A2 #9748C8 #B277D6 #CCA6E4

Accessibility & contrast

On white

5.15
#9748C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9748C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748C8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748C8#FFFFFF#000000##FFFFFF
##9748C81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#906282
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9748c8;
/* rgb */ color: rgb(151, 72, 200);
/* oklch */ color: oklch(56.0% 0.196 309.9);
Tailwind
colors: {
  custom: {
    50: '#b980d9',
    500: '#9748c8',
    950: '#000000',
  },
}
SCSS
$custom: #9748c8;
$custom-light: #b980d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9748c8",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 277.031,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55951,
    "c": 0.19619,
    "h": 309.9
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#9748C8
secondary
#AFD19A
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9748C8

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

Preview Lab → · Contrast checker → · Palette generator →

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