#8948D2#8948D2

#8948D2 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.203 H 301.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8948D2
RGBrgb(137, 72, 210)
HSLhsl(268, 61%, 55%)
HSVhsv(268, 66%, 82%)
CMYKcmyk(34.8%, 65.7%, 0%, 17.6%)
CIE-LABlab(45.09, 53.87, -60.89)
CIE-LCHlch(45.09, 81.30, 311.50°)
OKLaboklab(55.02% 0.1067 -0.1731)
OKLCHoklch(55.02% 0.203 301.6)
XYZxyz(24.2640, 14.6061, 62.5012)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948D2 #91D248
analogous
#484CD2 #8948D2 #CE48D2
triadic
#8948D2 #D28948 #48D289
tetradic
#8948D2 #D2484C #91D248 #48D2CE
square
#8948D2 #D2484C #91D248 #48D2CE
split-complementary
#8948D2 #D2CE48 #4CD248
monochromatic
#4D2080 #6B2CB1 #8948D2 #A979DE #C8AAEA

Accessibility & contrast

On white

5.36
#8948D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8948D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948D2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948D2#FFFFFF#000000##FFFFFF
##8948D21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#026ACF
Tritanopia (blue-blind)
#7A6787
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8948d2;
/* rgb */ color: rgb(137, 72, 210);
/* oklch */ color: oklch(55.0% 0.203 301.6);
Tailwind
colors: {
  custom: {
    50: '#b17fe1',
    500: '#8948d2',
    950: '#000000',
  },
}
SCSS
$custom: #8948d2;
$custom-light: #b17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8948d2",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 268.261,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55016,
    "c": 0.20339,
    "h": 301.6
  },
  "luminance": 0.14606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8948D2

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

Preview Lab → · Contrast checker → · Palette generator →

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