#8948CE#8948CE

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

Color values

HEX#8948CE
RGBrgb(137, 72, 206)
HSLhsl(269, 58%, 55%)
HSVhsv(269, 65%, 81%)
CMYKcmyk(33.5%, 65%, 0%, 19.2%)
CIE-LABlab(44.81, 52.89, -59.03)
CIE-LCHlch(44.81, 79.26, 311.86°)
OKLaboklab(54.73% 0.1071 -0.1677)
OKLCHoklch(54.73% 0.199 302.6)
XYZxyz(23.7719, 14.4093, 59.9094)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948CE #8DCE48
analogous
#484ACE #8948CE #CC48CE
triadic
#8948CE #CE8948 #48CE89
tetradic
#8948CE #CE484A #8DCE48 #48CECC
square
#8948CE #CE484A #8DCE48 #48CECC
split-complementary
#8948CE #CECC48 #4ACE48
monochromatic
#4C217B #6B2EAB #8948CE #A878DB #C7A9E8

Accessibility & contrast

On white

5.41
#8948CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8948CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948CE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948CE#FFFFFF#000000##FFFFFF
##8948CE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#146ACB
Tritanopia (blue-blind)
#7B6685
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8948ce;
/* rgb */ color: rgb(137, 72, 206);
/* oklch */ color: oklch(54.7% 0.199 302.6);
Tailwind
colors: {
  custom: {
    50: '#b07fde',
    500: '#8948ce',
    950: '#000000',
  },
}
SCSS
$custom: #8948ce;
$custom-light: #b07fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8948ce",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 269.104,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.19898,
    "h": 302.6
  },
  "luminance": 0.14409
}

Semantic roles & 50–950 ramp

primary
#8948CE
secondary
#BAD59D
accent
#E14796
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8948CE

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

Preview Lab → · Contrast checker → · Palette generator →

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