#9748EF#9748EF

#9748EF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.7% C 0.237 H 300.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9748EF
RGBrgb(151, 72, 239)
HSLhsl(268, 84%, 61%)
HSVhsv(268, 70%, 94%)
CMYKcmyk(36.8%, 69.9%, 0%, 6.3%)
CIE-LABlab(48.82, 63.51, -71.24)
CIE-LCHlch(48.82, 95.44, 311.72°)
OKLaboklab(58.7% 0.1215 -0.2031)
OKLCHoklch(58.7% 0.237 300.9)
XYZxyz(30.6560, 17.4458, 83.3969)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748EF #A0EF48
analogous
#484CEF #9748EF #EA48EF
triadic
#9748EF #EF9748 #48EF97
tetradic
#9748EF #EF484C #A0EF48 #48EFEA
square
#9748EF #EF484C #A0EF48 #48EFEA
split-complementary
#9748EF #EFEA48 #4CEF48
monochromatic
#5A0FAD #7714E6 #9748EF #B780F4 #D7B9F9

Accessibility & contrast

On white

4.68
#9748EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9748EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748EF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748EF#FFFFFF#000000##FFFFFF
##9748EF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#847097
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9748ef;
/* rgb */ color: rgb(151, 72, 239);
/* oklch */ color: oklch(58.7% 0.237 300.9);
Tailwind
colors: {
  custom: {
    50: '#bc81f5',
    500: '#9748ef',
    950: '#000000',
  },
}
SCSS
$custom: #9748ef;
$custom-light: #bc81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9748ef",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 268.383,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58698,
    "c": 0.23666,
    "h": 300.9
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#9748EF
secondary
#CBE9AA
accent
#E00579
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9748EF

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

Preview Lab → · Contrast checker → · Palette generator →

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