#9748EE#9748EE

#9748EE is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.6% C 0.236 H 301.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9748EE
RGBrgb(151, 72, 238)
HSLhsl(269, 83%, 61%)
HSVhsv(269, 70%, 93%)
CMYKcmyk(36.6%, 69.7%, 0%, 6.7%)
CIE-LABlab(48.74, 63.28, -70.79)
CIE-LCHlch(48.74, 94.95, 311.79°)
OKLaboklab(58.62% 0.1216 -0.2018)
OKLCHoklch(58.62% 0.236 301.1)
XYZxyz(30.5087, 17.3869, 82.6210)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748EE #9FEE48
analogous
#484CEE #9748EE #EA48EE
triadic
#9748EE #EE9748 #48EE97
tetradic
#9748EE #EE484C #9FEE48 #48EEEA
square
#9748EE #EE484C #9FEE48 #48EEEA
split-complementary
#9748EE #EEEA48 #4CEE48
monochromatic
#5A10AC #7715E4 #9748EE #B780F3 #D7B8F8

Accessibility & contrast

On white

4.69
#9748EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9748EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9748EE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748EE#FFFFFF#000000##FFFFFF
##9748EE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0073EB
Tritanopia (blue-blind)
#847096
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9748ee;
/* rgb */ color: rgb(151, 72, 238);
/* oklch */ color: oklch(58.6% 0.236 301.1);
Tailwind
colors: {
  custom: {
    50: '#bc81f5',
    500: '#9748ee',
    950: '#000000',
  },
}
SCSS
$custom: #9748ee;
$custom-light: #bc81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9748ee",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 238
  },
  "hsl": {
    "h": 268.554,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.23563,
    "h": 301.1
  },
  "luminance": 0.17387
}

Semantic roles & 50–950 ramp

primary
#9748EE
secondary
#CAE8A9
accent
#DF0678
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9748EE

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

Preview Lab → · Contrast checker → · Palette generator →

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