#8948CF#8948CF

#8948CF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.200 H 302.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8948CF
RGBrgb(137, 72, 207)
HSLhsl(269, 58%, 55%)
HSVhsv(269, 65%, 81%)
CMYKcmyk(33.8%, 65.2%, 0%, 18.8%)
CIE-LABlab(44.88, 53.14, -59.50)
CIE-LCHlch(44.88, 79.77, 311.77°)
OKLaboklab(54.8% 0.107 -0.1691)
OKLCHoklch(54.8% 0.2 302.3)
XYZxyz(23.8937, 14.4580, 60.5513)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948CF #8ECF48
analogous
#484ACF #8948CF #CD48CF
triadic
#8948CF #CF8948 #48CF89
tetradic
#8948CF #CF484A #8ECF48 #48CFCD
square
#8948CF #CF484A #8ECF48 #48CFCD
split-complementary
#8948CF #CFCD48 #4ACF48
monochromatic
#4D217C #6B2DAD #8948CF #A878DC #C8A9E8

Accessibility & contrast

On white

5.40
#8948CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8948CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948CF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948CF#FFFFFF#000000##FFFFFF
##8948CF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#116ACC
Tritanopia (blue-blind)
#7B6685
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8948cf;
/* rgb */ color: rgb(137, 72, 207);
/* oklch */ color: oklch(54.8% 0.200 302.3);
Tailwind
colors: {
  custom: {
    50: '#b07fde',
    500: '#8948cf',
    950: '#000000',
  },
}
SCSS
$custom: #8948cf;
$custom-light: #b07fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8948cf",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 268.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.20008,
    "h": 302.3
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#8948CF
secondary
#BAD69D
accent
#E24697
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8948CF

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

Preview Lab → · Contrast checker → · Palette generator →

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