#9948EB#9948EB

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

Color values

HEX#9948EB
RGBrgb(153, 72, 235)
HSLhsl(270, 80%, 60%)
HSVhsv(270, 69%, 92%)
CMYKcmyk(34.9%, 69.4%, 0%, 7.8%)
CIE-LABlab(48.77, 62.95, -69.06)
CIE-LCHlch(48.77, 93.44, 312.35°)
OKLaboklab(58.62% 0.1248 -0.1966)
OKLCHoklch(58.62% 0.233 302.4)
XYZxyz(30.4461, 17.4051, 80.3367)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948EB #9AEB48
analogous
#4848EB #9948EB #EB48EB
triadic
#9948EB #EB9948 #48EB99
tetradic
#9948EB #EB4848 #9AEB48 #48EBEB
square
#9948EB #EB4848 #9AEB48 #48EBEB
split-complementary
#9948EB #EBEB48 #48EB48
monochromatic
#5C12A6 #7A18DE #9948EB #B87FF1 #D7B6F7

Accessibility & contrast

On white

4.69
#9948EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9948EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948EB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948EB#FFFFFF#000000##FFFFFF
##9948EB1.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)
#0073F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#886F95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9948eb;
/* rgb */ color: rgb(153, 72, 235);
/* oklch */ color: oklch(58.6% 0.233 302.4);
Tailwind
colors: {
  custom: {
    50: '#bd81f2',
    500: '#9948eb',
    950: '#000000',
  },
}
SCSS
$custom: #9948eb;
$custom-light: #bd81f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9948eb",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 269.816,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.23289,
    "h": 302.4
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#9948EB
secondary
#C8E7A8
accent
#DD0973
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9948EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9948EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva