#9748C7#9748C7

#9748C7 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.9% C 0.195 H 310.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9748C7
RGBrgb(151, 72, 199)
HSLhsl(277, 53%, 53%)
HSVhsv(277, 64%, 78%)
CMYKcmyk(24.1%, 63.8%, 0%, 22%)
CIE-LABlab(46.09, 54.36, -52.84)
CIE-LCHlch(46.09, 75.81, 315.81°)
OKLaboklab(55.89% 0.126 -0.1491)
OKLCHoklch(55.89% 0.195 310.2)
XYZxyz(25.3867, 15.3381, 55.6450)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748C7 #78C748
analogous
#5748C7 #9748C7 #C748B7
triadic
#9748C7 #C79748 #48C797
tetradic
#9748C7 #C75748 #78C748 #48B7C7
square
#9748C7 #C75748 #78C748 #48B7C7
split-complementary
#9748C7 #B7C748 #48C757
monochromatic
#542372 #7731A1 #9748C7 #B277D5 #CCA6E4

Accessibility & contrast

On white

5.16
#9748C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9748C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748C7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748C7#FFFFFF#000000##FFFFFF
##9748C71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#386EC4
Tritanopia (blue-blind)
#916181
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9748c7;
/* rgb */ color: rgb(151, 72, 199);
/* oklch */ color: oklch(55.9% 0.195 310.2);
Tailwind
colors: {
  custom: {
    50: '#b980d9',
    500: '#9748c7',
    950: '#000000',
  },
}
SCSS
$custom: #9748c7;
$custom-light: #b980d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9748c7",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 277.323,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.19515,
    "h": 310.2
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#9748C7
secondary
#AFD19A
accent
#DD4B82
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9748C7

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

Preview Lab → · Contrast checker → · Palette generator →

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