#9A48CF#9A48CF

#9A48CF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.204 H 309.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9A48CF
RGBrgb(154, 72, 207)
HSLhsl(276, 58%, 55%)
HSVhsv(276, 65%, 81%)
CMYKcmyk(25.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(46.99, 56.79, -56.00)
CIE-LCHlch(46.99, 79.76, 315.41°)
OKLaboklab(56.78% 0.1293 -0.1582)
OKLCHoklch(56.78% 0.204 309.3)
XYZxyz(26.9040, 16.0102, 60.6924)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A48CF #7DCF48
analogous
#5648CF #9A48CF #CF48C1
triadic
#9A48CF #CF9A48 #48CF9A
tetradic
#9A48CF #CF5648 #7DCF48 #48C1CF
square
#9A48CF #CF5648 #7DCF48 #48C1CF
split-complementary
#9A48CF #C1CF48 #48CF56
monochromatic
#58217C #7B2DAD #9A48CF #B578DC #D0A9E8

Accessibility & contrast

On white

5.00
#9A48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9A48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A48CF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A48CF#FFFFFF#000000##FFFFFF
##9A48CF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#926485
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a48cf;
/* rgb */ color: rgb(154, 72, 207);
/* oklch */ color: oklch(56.8% 0.204 309.3);
Tailwind
colors: {
  custom: {
    50: '#bc80de',
    500: '#9a48cf',
    950: '#000000',
  },
}
SCSS
$custom: #9a48cf;
$custom-light: #bc80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a48cf",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 276.444,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.20435,
    "h": 309.3
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#9A48CF
secondary
#B3D69D
accent
#E24683
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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