#8948D3#8948D3

#8948D3 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.204 H 301.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8948D3
RGBrgb(137, 72, 211)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 66%, 83%)
CMYKcmyk(35.1%, 65.9%, 0%, 17.3%)
CIE-LABlab(45.16, 54.11, -61.35)
CIE-LCHlch(45.16, 81.80, 311.41°)
OKLaboklab(55.09% 0.1066 -0.1745)
OKLCHoklch(55.09% 0.204 301.4)
XYZxyz(24.3889, 14.6561, 63.1594)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948D3 #92D348
analogous
#484CD3 #8948D3 #CF48D3
triadic
#8948D3 #D38948 #48D389
tetradic
#8948D3 #D3484C #92D348 #48D3CF
square
#8948D3 #D3484C #92D348 #48D3CF
split-complementary
#8948D3 #D3CF48 #4CD348
monochromatic
#4D1F81 #6B2BB3 #8948D3 #A979DF #C9ABEB

Accessibility & contrast

On white

5.34
#8948D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8948D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948D3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948D3#FFFFFF#000000##FFFFFF
##8948D31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#796787
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8948d3;
/* rgb */ color: rgb(137, 72, 211);
/* oklch */ color: oklch(55.1% 0.204 301.4);
Tailwind
colors: {
  custom: {
    50: '#b17fe1',
    500: '#8948d3',
    950: '#000000',
  },
}
SCSS
$custom: #8948d3;
$custom-light: #b17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8948d3",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 211
  },
  "hsl": {
    "h": 268.058,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.20448,
    "h": 301.4
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#8948D3
secondary
#BDD89E
accent
#E44399
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8948D3

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

Preview Lab → · Contrast checker → · Palette generator →

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