#8949DB#8949DB

#8949DB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.212 H 299.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8949DB
RGBrgb(137, 73, 219)
HSLhsl(266, 67%, 57%)
HSVhsv(266, 67%, 86%)
CMYKcmyk(37.4%, 66.7%, 0%, 14.1%)
CIE-LABlab(45.90, 55.58, -64.72)
CIE-LCHlch(45.90, 85.31, 310.65°)
OKLaboklab(55.8% 0.1046 -0.1844)
OKLCHoklch(55.8% 0.212 299.6)
XYZxyz(25.4821, 15.1977, 68.5950)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8949DB #9BDB49
analogous
#4952DB #8949DB #D249DB
triadic
#8949DB #DB8949 #49DB89
tetradic
#8949DB #DB4952 #9BDB49 #49DBD2
square
#8949DB #DB4952 #9BDB49 #49DBD2
split-complementary
#8949DB #DBD249 #52DB49
monochromatic
#4E1C8E #6A26C1 #8949DB #AA7CE5 #CBAFEF

Accessibility & contrast

On white

5.20
#8949DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8949DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8949DB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8949DB#FFFFFF#000000##FFFFFF
##8949DB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#766B8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8949db;
/* rgb */ color: rgb(137, 73, 219);
/* oklch */ color: oklch(55.8% 0.212 299.6);
Tailwind
colors: {
  custom: {
    50: '#b180e7',
    500: '#8949db',
    950: '#000000',
  },
}
SCSS
$custom: #8949db;
$custom-light: #b180e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8949db",
  "rgb": {
    "r": 137,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 266.301,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55801,
    "c": 0.21201,
    "h": 299.6
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#8949DB
secondary
#C4DDA2
accent
#EA3E9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8949DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8949DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva