#8948CA#8948CA

#8948CA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.4% C 0.195 H 303.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8948CA
RGBrgb(137, 72, 202)
HSLhsl(270, 55%, 54%)
HSVhsv(270, 64%, 79%)
CMYKcmyk(32.2%, 64.4%, 0%, 20.8%)
CIE-LABlab(44.54, 51.93, -57.16)
CIE-LCHlch(44.54, 77.23, 312.25°)
OKLaboklab(54.45% 0.1074 -0.1622)
OKLCHoklch(54.45% 0.195 303.5)
XYZxyz(23.2921, 14.2174, 57.3828)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948CA #89CA48
analogous
#4848CA #8948CA #CA48CA
triadic
#8948CA #CA8948 #48CA89
tetradic
#8948CA #CA4848 #89CA48 #48CACA
square
#8948CA #CA4848 #89CA48 #48CACA
split-complementary
#8948CA #CACA48 #48CA48
monochromatic
#4C2276 #6A30A5 #8948CA #A877D8 #C6A7E5

Accessibility & contrast

On white

5.46
#8948CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8948CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948CA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948CA#FFFFFF#000000##FFFFFF
##8948CA1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#1E69C7
Tritanopia (blue-blind)
#7D6483
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8948ca;
/* rgb */ color: rgb(137, 72, 202);
/* oklch */ color: oklch(54.4% 0.195 303.5);
Tailwind
colors: {
  custom: {
    50: '#b07fdb',
    500: '#8948ca',
    950: '#000000',
  },
}
SCSS
$custom: #8948ca;
$custom-light: #b07fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8948ca",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.19456,
    "h": 303.5
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

primary
#8948CA
secondary
#B7D39B
accent
#DE4994
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8948CA

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

Preview Lab → · Contrast checker → · Palette generator →

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