#904EBD#904EBD

#904EBD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.173 H 309.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#904EBD
RGBrgb(144, 78, 189)
HSLhsl(276, 46%, 52%)
HSVhsv(276, 59%, 74%)
CMYKcmyk(23.8%, 58.7%, 0%, 25.9%)
CIE-LABlab(45.71, 47.44, -47.71)
CIE-LCHlch(45.71, 67.28, 314.84°)
OKLaboklab(55.22% 0.1098 -0.1343)
OKLCHoklch(55.22% 0.173 309.3)
XYZxyz(23.4095, 15.0526, 49.8065)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904EBD #7BBD4E
analogous
#594EBD #904EBD #BD4EB2
triadic
#904EBD #BD904E #4EBD90
tetradic
#904EBD #BD594E #7BBD4E #4EB2BD
square
#904EBD #BD594E #7BBD4E #4EB2BD
split-complementary
#904EBD #B2BD4E #4EBD59
monochromatic
#4F2769 #703896 #904EBD #AC7BCE #C8A7DE

Accessibility & contrast

On white

5.24
#904EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#904EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904EBD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904EBD#FFFFFF#000000##FFFFFF
##904EBD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C1
Deuteranopia (green-blind)
#406DBA
Tritanopia (blue-blind)
#8A637E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #904ebd;
/* rgb */ color: rgb(144, 78, 189);
/* oklch */ color: oklch(55.2% 0.173 309.3);
Tailwind
colors: {
  custom: {
    50: '#b483d1',
    500: '#904ebd',
    950: '#000000',
  },
}
SCSS
$custom: #904ebd;
$custom-light: #b483d1;
$custom-dark: #000000;
JSON
{
  "hex": "#904ebd",
  "rgb": {
    "r": 144,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 275.676,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.17343,
    "h": 309.3
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#904EBD
secondary
#AFCC9B
accent
#D55288
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #904EBD

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

Preview Lab → · Contrast checker → · Palette generator →

#904EBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva