#9A48CD#9A48CD

#9A48CD is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.202 H 309.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9A48CD
RGBrgb(154, 72, 205)
HSLhsl(277, 57%, 54%)
HSVhsv(277, 65%, 80%)
CMYKcmyk(24.9%, 64.9%, 0%, 19.6%)
CIE-LABlab(46.86, 56.35, -55.05)
CIE-LCHlch(46.86, 78.78, 315.67°)
OKLaboklab(56.64% 0.1295 -0.1554)
OKLCHoklch(56.64% 0.202 309.8)
XYZxyz(26.6611, 15.9131, 59.4128)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48CD #7BCD48
analogous
#5748CD #9A48CD #CD48BE
triadic
#9A48CD #CD9A48 #48CD9A
tetradic
#9A48CD #CD5748 #7BCD48 #48BECD
square
#9A48CD #CD5748 #7BCD48 #48BECD
split-complementary
#9A48CD #BECD48 #48CD57
monochromatic
#582179 #7A2EA9 #9A48CD #B578DA #CFA8E7

Accessibility & contrast

On white

5.02
#9A48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9A48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48CD#FFFFFF#000000##FFFFFF
##9A48CD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#936384
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a48cd;
/* rgb */ color: rgb(154, 72, 205);
/* oklch */ color: oklch(56.6% 0.202 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc80dd',
    500: '#9a48cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a48cd;
$custom-light: #bc80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48cd",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 276.992,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.2023,
    "h": 309.8
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#9A48CD
secondary
#B2D59C
accent
#E04782
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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