#9748CA#9748CA

#9748CA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.1% C 0.198 H 309.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9748CA
RGBrgb(151, 72, 202)
HSLhsl(276, 55%, 54%)
HSVhsv(276, 64%, 79%)
CMYKcmyk(25.2%, 64.4%, 0%, 20.8%)
CIE-LABlab(46.28, 55.02, -54.27)
CIE-LCHlch(46.28, 77.28, 315.39°)
OKLaboklab(56.08% 0.1258 -0.1532)
OKLCHoklch(56.08% 0.198 309.4)
XYZxyz(25.7384, 15.4788, 57.4975)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748CA #7BCA48
analogous
#5648CA #9748CA #CA48BC
triadic
#9748CA #CA9748 #48CA97
tetradic
#9748CA #CA5648 #7BCA48 #48BCCA
square
#9748CA #CA5648 #7BCA48 #48BCCA
split-complementary
#9748CA #BCCA48 #48CA56
monochromatic
#552276 #7730A5 #9748CA #B277D8 #CDA7E5

Accessibility & contrast

On white

5.13
#9748CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9748CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748CA#FFFFFF#000000##FFFFFF
##9748CA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#346FC7
Tritanopia (blue-blind)
#906283
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9748ca;
/* rgb */ color: rgb(151, 72, 202);
/* oklch */ color: oklch(56.1% 0.198 309.4);
Tailwind
colors: {
  custom: {
    50: '#b980db',
    500: '#9748ca',
    950: '#000000',
  },
}
SCSS
$custom: #9748ca;
$custom-light: #b980db;
$custom-dark: #000000;
JSON
{
  "hex": "#9748ca",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 276.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.19826,
    "h": 309.4
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#9748CA
secondary
#B1D39B
accent
#DE4984
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9748CA

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

Preview Lab → · Contrast checker → · Palette generator →

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