#8948CD#8948CD

#8948CD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.198 H 302.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8948CD
RGBrgb(137, 72, 205)
HSLhsl(269, 57%, 54%)
HSVhsv(269, 65%, 80%)
CMYKcmyk(33.2%, 64.9%, 0%, 19.6%)
CIE-LABlab(44.75, 52.65, -58.57)
CIE-LCHlch(44.75, 78.76, 311.96°)
OKLaboklab(54.66% 0.1072 -0.1663)
OKLCHoklch(54.66% 0.198 302.8)
XYZxyz(23.6508, 14.3609, 59.2717)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948CD #8CCD48
analogous
#484ACD #8948CD #CC48CD
triadic
#8948CD #CD8948 #48CD89
tetradic
#8948CD #CD484A #8CCD48 #48CDCC
square
#8948CD #CD484A #8CCD48 #48CDCC
split-complementary
#8948CD #CDCC48 #4ACD48
monochromatic
#4C2179 #6B2EA9 #8948CD #A878DA #C7A8E7

Accessibility & contrast

On white

5.42
#8948CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8948CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948CD#FFFFFF#000000##FFFFFF
##8948CD1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#1769CA
Tritanopia (blue-blind)
#7C6584
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8948cd;
/* rgb */ color: rgb(137, 72, 205);
/* oklch */ color: oklch(54.7% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#b07fdd',
    500: '#8948cd',
    950: '#000000',
  },
}
SCSS
$custom: #8948cd;
$custom-light: #b07fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8948cd",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 269.323,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.19788,
    "h": 302.8
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#8948CD
secondary
#B9D59C
accent
#E04796
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8948CD

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

Preview Lab → · Contrast checker → · Palette generator →

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