#904EBE#904EBE

#904EBE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.175 H 309.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#904EBE
RGBrgb(144, 78, 190)
HSLhsl(275, 46%, 53%)
HSVhsv(275, 59%, 75%)
CMYKcmyk(24.2%, 58.9%, 0%, 25.5%)
CIE-LABlab(45.77, 47.67, -48.20)
CIE-LCHlch(45.77, 67.79, 314.68°)
OKLaboklab(55.28% 0.1098 -0.1357)
OKLCHoklch(55.28% 0.175 309)
XYZxyz(23.5184, 15.0962, 50.3801)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904EBE #7CBE4E
analogous
#584EBE #904EBE #BE4EB4
triadic
#904EBE #BE904E #4EBE90
tetradic
#904EBE #BE584E #7CBE4E #4EB4BE
square
#904EBE #BE584E #7CBE4E #4EB4BE
split-complementary
#904EBE #B4BE4E #4EBE58
monochromatic
#4F276A #703897 #904EBE #AC7BCE #C8A8DF

Accessibility & contrast

On white

5.22
#904EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#904EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904EBE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904EBE#FFFFFF#000000##FFFFFF
##904EBE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#8A637F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #904ebe;
/* rgb */ color: rgb(144, 78, 190);
/* oklch */ color: oklch(55.3% 0.175 309.0);
Tailwind
colors: {
  custom: {
    50: '#b483d2',
    500: '#904ebe',
    950: '#000000',
  },
}
SCSS
$custom: #904ebe;
$custom-light: #b483d2;
$custom-dark: #000000;
JSON
{
  "hex": "#904ebe",
  "rgb": {
    "r": 144,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 275.357,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5528,
    "c": 0.17455,
    "h": 309
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#904EBE
secondary
#B0CC9C
accent
#D65288
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #904EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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