#9748DF#9748DF

#9748DF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.220 H 304.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9748DF
RGBrgb(151, 72, 223)
HSLhsl(271, 70%, 58%)
HSVhsv(271, 68%, 87%)
CMYKcmyk(32.3%, 67.7%, 0%, 12.5%)
CIE-LABlab(47.68, 59.78, -64.05)
CIE-LCHlch(47.68, 87.61, 313.03°)
OKLaboklab(57.53% 0.1238 -0.182)
OKLCHoklch(57.53% 0.22 304.2)
XYZxyz(28.3961, 16.5419, 71.4947)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748DF #90DF48
analogous
#4B48DF #9748DF #DF48DB
triadic
#9748DF #DF9748 #48DF97
tetradic
#9748DF #DF4B48 #90DF48 #48DBDF
square
#9748DF #DF4B48 #90DF48 #48DBDF
split-complementary
#9748DF #DBDF48 #48DF4B
monochromatic
#591A93 #7923C7 #9748DF #B57CE8 #D2B0F1

Accessibility & contrast

On white

4.87
#9748DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9748DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748DF#FFFFFF#000000##FFFFFF
##9748DF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0471DC
Tritanopia (blue-blind)
#896A8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9748df;
/* rgb */ color: rgb(151, 72, 223);
/* oklch */ color: oklch(57.5% 0.220 304.2);
Tailwind
colors: {
  custom: {
    50: '#bb81ea',
    500: '#9748df',
    950: '#000000',
  },
}
SCSS
$custom: #9748df;
$custom-light: #bb81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9748df",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 271.391,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.2201,
    "h": 304.2
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#9748DF
secondary
#C0E0A3
accent
#ED3B90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9748DF

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

Preview Lab → · Contrast checker → · Palette generator →

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