#9748CC#9748CC

#9748CC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.200 H 308.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9748CC
RGBrgb(151, 72, 204)
HSLhsl(276, 56%, 54%)
HSVhsv(276, 65%, 80%)
CMYKcmyk(26%, 64.7%, 0%, 20%)
CIE-LABlab(46.41, 55.47, -55.22)
CIE-LCHlch(46.41, 78.27, 315.13°)
OKLaboklab(56.22% 0.1257 -0.156)
OKLCHoklch(56.22% 0.2 308.8)
XYZxyz(25.9768, 15.5741, 58.7527)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748CC #7DCC48
analogous
#5548CC #9748CC #CC48BF
triadic
#9748CC #CC9748 #48CC97
tetradic
#9748CC #CC5548 #7DCC48 #48BFCC
square
#9748CC #CC5548 #7DCC48 #48BFCC
split-complementary
#9748CC #BFCC48 #48CC55
monochromatic
#552178 #772FA8 #9748CC #B278D9 #CDA8E7

Accessibility & contrast

On white

5.10
#9748CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9748CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748CC#FFFFFF#000000##FFFFFF
##9748CC1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#326FC9
Tritanopia (blue-blind)
#8F6384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9748cc;
/* rgb */ color: rgb(151, 72, 204);
/* oklch */ color: oklch(56.2% 0.200 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba80dc',
    500: '#9748cc',
    950: '#000000',
  },
}
SCSS
$custom: #9748cc;
$custom-light: #ba80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9748cc",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 275.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56215,
    "c": 0.20035,
    "h": 308.8
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#9748CC
secondary
#B2D49C
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9748CC

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

Preview Lab → · Contrast checker → · Palette generator →

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