#9748D0#9748D0

#9748D0 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.205 H 307.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9748D0
RGBrgb(151, 72, 208)
HSLhsl(275, 59%, 55%)
HSVhsv(275, 65%, 82%)
CMYKcmyk(27.4%, 65.4%, 0%, 18.4%)
CIE-LABlab(46.67, 56.36, -57.10)
CIE-LCHlch(46.67, 80.24, 314.63°)
OKLaboklab(56.48% 0.1254 -0.1616)
OKLCHoklch(56.48% 0.205 307.8)
XYZxyz(26.4627, 15.7685, 61.3118)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748D0 #81D048
analogous
#5348D0 #9748D0 #D048C5
triadic
#9748D0 #D09748 #48D097
tetradic
#9748D0 #D05348 #81D048 #48C5D0
square
#9748D0 #D05348 #81D048 #48C5D0
split-complementary
#9748D0 #C5D048 #48D053
monochromatic
#56207D #782DAE #9748D0 #B379DD #CEA9E9

Accessibility & contrast

On white

5.06
#9748D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9748D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748D0
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748D0#FFFFFF#000000##FFFFFF
##9748D01.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9748d0;
/* rgb */ color: rgb(151, 72, 208);
/* oklch */ color: oklch(56.5% 0.205 307.8);
Tailwind
colors: {
  custom: {
    50: '#ba80df',
    500: '#9748d0',
    950: '#000000',
  },
}
SCSS
$custom: #9748d0;
$custom-light: #ba80df;
$custom-dark: #000000;
JSON
{
  "hex": "#9748d0",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 274.853,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.20451,
    "h": 307.8
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#9748D0
secondary
#B5D79D
accent
#E24587
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9748D0

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

Preview Lab → · Contrast checker → · Palette generator →

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