#9748D1#9748D1

#9748D1 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.206 H 307.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9748D1
RGBrgb(151, 72, 209)
HSLhsl(275, 60%, 55%)
HSVhsv(275, 66%, 82%)
CMYKcmyk(27.8%, 65.6%, 0%, 18%)
CIE-LABlab(46.73, 56.59, -57.57)
CIE-LCHlch(46.73, 80.73, 314.51°)
OKLaboklab(56.55% 0.1253 -0.163)
OKLCHoklch(56.55% 0.206 307.6)
XYZxyz(26.5861, 15.8178, 61.9618)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748D1 #82D148
analogous
#5348D1 #9748D1 #D148C6
triadic
#9748D1 #D19748 #48D197
tetradic
#9748D1 #D15348 #82D148 #48C6D1
square
#9748D1 #D15348 #82D148 #48C6D1
split-complementary
#9748D1 #C6D148 #48D153
monochromatic
#57207F #782CB0 #9748D1 #B379DD #CFAAEA

Accessibility & contrast

On white

5.04
#9748D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9748D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748D1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748D1#FFFFFF#000000##FFFFFF
##9748D11.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#2B6FCE
Tritanopia (blue-blind)
#8E6586
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9748d1;
/* rgb */ color: rgb(151, 72, 209);
/* oklch */ color: oklch(56.6% 0.206 307.6);
Tailwind
colors: {
  custom: {
    50: '#ba80e0',
    500: '#9748d1',
    950: '#000000',
  },
}
SCSS
$custom: #9748d1;
$custom-light: #ba80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9748d1",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 274.599,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56552,
    "c": 0.20555,
    "h": 307.6
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#9748D1
secondary
#B6D79E
accent
#E34588
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9748D1

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

Preview Lab → · Contrast checker → · Palette generator →

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