#9A48CE#9A48CE

#9A48CE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.203 H 309.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9A48CE
RGBrgb(154, 72, 206)
HSLhsl(277, 58%, 55%)
HSVhsv(277, 65%, 81%)
CMYKcmyk(25.2%, 65%, 0%, 19.2%)
CIE-LABlab(46.92, 56.57, -55.52)
CIE-LCHlch(46.92, 79.27, 315.54°)
OKLaboklab(56.71% 0.1294 -0.1568)
OKLCHoklch(56.71% 0.203 309.5)
XYZxyz(26.7822, 15.9615, 60.0506)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48CE #7CCE48
analogous
#5748CE #9A48CE #CE48BF
triadic
#9A48CE #CE9A48 #48CE9A
tetradic
#9A48CE #CE5748 #7CCE48 #48BFCE
square
#9A48CE #CE5748 #7CCE48 #48BFCE
split-complementary
#9A48CE #BFCE48 #48CE57
monochromatic
#58217B #7A2EAB #9A48CE #B578DB #CFA9E8

Accessibility & contrast

On white

5.01
#9A48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9A48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48CE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48CE#FFFFFF#000000##FFFFFF
##9A48CE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3470CB
Tritanopia (blue-blind)
#936385
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a48ce;
/* rgb */ color: rgb(154, 72, 206);
/* oklch */ color: oklch(56.7% 0.203 309.5);
Tailwind
colors: {
  custom: {
    50: '#bc80de',
    500: '#9a48ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a48ce;
$custom-light: #bc80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48ce",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 276.716,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56709,
    "c": 0.20333,
    "h": 309.5
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#9A48CE
secondary
#B3D59D
accent
#E14783
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A48CE

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

Preview Lab → · Contrast checker → · Palette generator →

#9A48CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva