#8948B3#8948B3

#8948B3 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.169 H 309.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8948B3
RGBrgb(137, 72, 179)
HSLhsl(276, 43%, 49%)
HSVhsv(276, 60%, 70%)
CMYKcmyk(23.5%, 59.8%, 0%, 29.8%)
CIE-LABlab(43.08, 46.52, -46.12)
CIE-LCHlch(43.08, 65.51, 315.25°)
OKLaboklab(52.92% 0.1084 -0.1298)
OKLCHoklch(52.92% 0.169 309.9)
XYZxyz(20.7690, 13.2082, 44.0944)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948B3 #72B348
analogous
#5448B3 #8948B3 #B348A7
triadic
#8948B3 #B38948 #48B389
tetradic
#8948B3 #B35448 #72B348 #48A7B3
square
#8948B3 #B35448 #72B348 #48A7B3
split-complementary
#8948B3 #A7B348 #48B354
monochromatic
#46255C #683687 #8948B3 #A572C6 #C19ED8

Accessibility & contrast

On white

5.77
#8948B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8948B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948B3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948B3#FFFFFF#000000##FFFFFF
##8948B31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B6
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#835C77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8948b3;
/* rgb */ color: rgb(137, 72, 179);
/* oklch */ color: oklch(52.9% 0.169 309.9);
Tailwind
colors: {
  custom: {
    50: '#ae7eca',
    500: '#8948b3',
    950: '#000000',
  },
}
SCSS
$custom: #8948b3;
$custom-light: #ae7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#8948b3",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 276.449,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.16906,
    "h": 309.9
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#8948B3
secondary
#A6C492
accent
#D25586
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8948B3

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

Preview Lab → · Contrast checker → · Palette generator →

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