#9548CD#9548CD

#9548CD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.201 H 307.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9548CD
RGBrgb(149, 72, 205)
HSLhsl(275, 57%, 54%)
HSVhsv(275, 65%, 80%)
CMYKcmyk(27.3%, 64.9%, 0%, 19.6%)
CIE-LABlab(46.22, 55.25, -56.11)
CIE-LCHlch(46.22, 78.75, 314.56°)
OKLaboklab(56.04% 0.123 -0.1587)
OKLCHoklch(56.04% 0.201 307.8)
XYZxyz(25.7290, 15.4324, 59.3691)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9548CD #80CD48
analogous
#5348CD #9548CD #CD48C3
triadic
#9548CD #CD9548 #48CD95
tetradic
#9548CD #CD5348 #80CD48 #48C3CD
square
#9548CD #CD5348 #80CD48 #48C3CD
split-complementary
#9548CD #C3CD48 #48CD53
monochromatic
#542179 #762EA9 #9548CD #B178DA #CDA8E7

Accessibility & contrast

On white

5.14
#9548CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9548CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9548CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9548CD#FFFFFF#000000##FFFFFF
##9548CD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#8C6484
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9548cd;
/* rgb */ color: rgb(149, 72, 205);
/* oklch */ color: oklch(56.0% 0.201 307.8);
Tailwind
colors: {
  custom: {
    50: '#b880dd',
    500: '#9548cd',
    950: '#000000',
  },
}
SCSS
$custom: #9548cd;
$custom-light: #b880dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9548cd",
  "rgb": {
    "r": 149,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 274.737,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.20082,
    "h": 307.8
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#9548CD
secondary
#B4D59C
accent
#E04788
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9548CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9548CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva