#9748D5#9748D5

#9748D5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.210 H 306.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9748D5
RGBrgb(151, 72, 213)
HSLhsl(274, 63%, 56%)
HSVhsv(274, 66%, 84%)
CMYKcmyk(29.1%, 66.2%, 0%, 16.5%)
CIE-LABlab(47.00, 57.49, -59.44)
CIE-LCHlch(47.00, 82.70, 314.05°)
OKLaboklab(56.83% 0.125 -0.1684)
OKLCHoklch(56.83% 0.21 306.6)
XYZxyz(27.0875, 16.0184, 64.6028)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748D5 #86D548
analogous
#5048D5 #9748D5 #D548CC
triadic
#9748D5 #D59748 #48D597
tetradic
#9748D5 #D55048 #86D548 #48CCD5
square
#9748D5 #D55048 #86D548 #48CCD5
split-complementary
#9748D5 #CCD548 #48D550
monochromatic
#571E84 #782AB6 #9748D5 #B37AE0 #D0ACEC

Accessibility & contrast

On white

5.00
#9748D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9748D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748D5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748D5#FFFFFF#000000##FFFFFF
##9748D51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2470D2
Tritanopia (blue-blind)
#8D6789
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9748d5;
/* rgb */ color: rgb(151, 72, 213);
/* oklch */ color: oklch(56.8% 0.210 306.6);
Tailwind
colors: {
  custom: {
    50: '#ba80e3',
    500: '#9748d5',
    950: '#000000',
  },
}
SCSS
$custom: #9748d5;
$custom-light: #ba80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9748d5",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 273.617,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.20972,
    "h": 306.6
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#9748D5
secondary
#B9DA9F
accent
#E6428A
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9748D5

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

Preview Lab → · Contrast checker → · Palette generator →

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