#8948C8#8948C8

#8948C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.192 H 304.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8948C8
RGBrgb(137, 72, 200)
HSLhsl(270, 54%, 53%)
HSVhsv(270, 64%, 78%)
CMYKcmyk(31.5%, 64%, 0%, 21.6%)
CIE-LABlab(44.41, 51.45, -56.22)
CIE-LCHlch(44.41, 76.21, 312.46°)
OKLaboklab(54.31% 0.1076 -0.1594)
OKLCHoklch(54.31% 0.192 304)
XYZxyz(23.0569, 14.1233, 56.1438)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948C8 #87C848
analogous
#4948C8 #8948C8 #C848C7
triadic
#8948C8 #C88948 #48C889
tetradic
#8948C8 #C84948 #87C848 #48C7C8
square
#8948C8 #C84948 #87C848 #48C7C8
split-complementary
#8948C8 #C7C848 #48C849
monochromatic
#4B2373 #6A31A2 #8948C8 #A777D6 #C6A6E4

Accessibility & contrast

On white

5.49
#8948C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8948C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948C8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948C8#FFFFFF#000000##FFFFFF
##8948C81.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#7D6382
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8948c8;
/* rgb */ color: rgb(137, 72, 200);
/* oklch */ color: oklch(54.3% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#b07fd9',
    500: '#8948c8',
    950: '#000000',
  },
}
SCSS
$custom: #8948c8;
$custom-light: #b07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8948c8",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 270.469,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.19235,
    "h": 304
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#8948C8
secondary
#B5D19A
accent
#DD4B93
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8948C8

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

Preview Lab → · Contrast checker → · Palette generator →

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