#9748CD#9748CD

#9748CD is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.201 H 308.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9748CD
RGBrgb(151, 72, 205)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 65%, 80%)
CMYKcmyk(26.3%, 64.9%, 0%, 19.6%)
CIE-LABlab(46.47, 55.69, -55.69)
CIE-LCHlch(46.47, 78.76, 315.00°)
OKLaboklab(56.28% 0.1256 -0.1574)
OKLCHoklch(56.28% 0.201 308.6)
XYZxyz(26.0971, 15.6222, 59.3864)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748CD #7ECD48
analogous
#5548CD #9748CD #CD48C1
triadic
#9748CD #CD9748 #48CD97
tetradic
#9748CD #CD5548 #7ECD48 #48C1CD
square
#9748CD #CD5548 #7ECD48 #48C1CD
split-complementary
#9748CD #C1CD48 #48CD55
monochromatic
#562179 #772EA9 #9748CD #B278DA #CEA8E7

Accessibility & contrast

On white

5.09
#9748CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9748CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748CD#FFFFFF#000000##FFFFFF
##9748CD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#8F6484
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9748cd;
/* rgb */ color: rgb(151, 72, 205);
/* oklch */ color: oklch(56.3% 0.201 308.6);
Tailwind
colors: {
  custom: {
    50: '#ba80dd',
    500: '#9748cd',
    950: '#000000',
  },
}
SCSS
$custom: #9748cd;
$custom-light: #ba80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9748cd",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 275.639,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.20139,
    "h": 308.6
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#9748CD
secondary
#B3D59C
accent
#E04786
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9748CD

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

Preview Lab → · Contrast checker → · Palette generator →

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