#9948E1#9948E1

#9948E1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.223 H 304.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9948E1
RGBrgb(153, 72, 225)
HSLhsl(272, 72%, 58%)
HSVhsv(272, 68%, 88%)
CMYKcmyk(32%, 68%, 0%, 11.8%)
CIE-LABlab(48.06, 60.64, -64.55)
CIE-LCHlch(48.06, 88.56, 313.21°)
OKLaboklab(57.9% 0.1262 -0.1834)
OKLCHoklch(57.9% 0.223 304.5)
XYZxyz(29.0418, 16.8434, 72.9407)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948E1 #90E148
analogous
#4C48E1 #9948E1 #E148DC
triadic
#9948E1 #E19948 #48E199
tetradic
#9948E1 #E14C48 #90E148 #48DCE1
square
#9948E1 #E14C48 #90E148 #48DCE1
split-complementary
#9948E1 #DCE148 #48E14C
monochromatic
#5B1996 #7B21CB #9948E1 #B67DEA #D4B1F2

Accessibility & contrast

On white

4.81
#9948E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9948E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948E1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948E1#FFFFFF#000000##FFFFFF
##9948E11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0472DE
Tritanopia (blue-blind)
#8C6B8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9948e1;
/* rgb */ color: rgb(153, 72, 225);
/* oklch */ color: oklch(57.9% 0.223 304.5);
Tailwind
colors: {
  custom: {
    50: '#bc81eb',
    500: '#9948e1',
    950: '#000000',
  },
}
SCSS
$custom: #9948e1;
$custom-light: #bc81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9948e1",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 271.765,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.22262,
    "h": 304.5
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#9948E1
secondary
#C1E1A4
accent
#EF398F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9948E1

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

Preview Lab → · Contrast checker → · Palette generator →

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