#9D48CF#9D48CF

#9D48CF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.205 H 310.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9D48CF
RGBrgb(157, 72, 207)
HSLhsl(278, 58%, 55%)
HSVhsv(278, 65%, 81%)
CMYKcmyk(24.2%, 65.2%, 0%, 18.8%)
CIE-LABlab(47.38, 57.45, -55.35)
CIE-LCHlch(47.38, 79.78, 316.07°)
OKLaboklab(57.14% 0.1332 -0.1562)
OKLCHoklch(57.14% 0.205 310.4)
XYZxyz(27.4823, 16.3084, 60.7195)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D48CF #7ACF48
analogous
#5A48CF #9D48CF #CF48BE
triadic
#9D48CF #CF9D48 #48CF9D
tetradic
#9D48CF #CF5A48 #7ACF48 #48BECF
square
#9D48CF #CF5A48 #7ACF48 #48BECF
split-complementary
#9D48CF #BECF48 #48CF5A
monochromatic
#5A217C #7D2DAD #9D48CF #B778DC #D1A9E8

Accessibility & contrast

On white

4.93
#9D48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9D48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D48CF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D48CF#FFFFFF#000000##FFFFFF
##9D48CF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#966385
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d48cf;
/* rgb */ color: rgb(157, 72, 207);
/* oklch */ color: oklch(57.1% 0.205 310.4);
Tailwind
colors: {
  custom: {
    50: '#be80de',
    500: '#9d48cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d48cf;
$custom-light: #be80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d48cf",
  "rgb": {
    "r": 157,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 277.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57138,
    "c": 0.20529,
    "h": 310.4
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#9D48CF
secondary
#B2D69D
accent
#E24680
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9D48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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