#904FBD#904FBD

#904FBD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.172 H 309.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#904FBD
RGBrgb(144, 79, 189)
HSLhsl(275, 45%, 53%)
HSVhsv(275, 58%, 74%)
CMYKcmyk(23.8%, 58.2%, 0%, 25.9%)
CIE-LABlab(45.90, 46.92, -47.40)
CIE-LCHlch(45.90, 66.69, 314.71°)
OKLaboklab(55.36% 0.1085 -0.1334)
OKLCHoklch(55.36% 0.172 309.1)
XYZxyz(23.4811, 15.1958, 49.8303)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FBD #7CBD4F
analogous
#594FBD #904FBD #BD4FB3
triadic
#904FBD #BD904F #4FBD90
tetradic
#904FBD #BD594F #7CBD4F #4FB3BD
square
#904FBD #BD594F #7CBD4F #4FB3BD
split-complementary
#904FBD #B3BD4F #4FBD59
monochromatic
#4F286A #703896 #904FBD #AC7CCE #C8A8DE

Accessibility & contrast

On white

5.20
#904FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#904FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904FBD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FBD#FFFFFF#000000##FFFFFF
##904FBD1.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)
#276AC1
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#8A637E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904fbd;
/* rgb */ color: rgb(144, 79, 189);
/* oklch */ color: oklch(55.4% 0.172 309.1);
Tailwind
colors: {
  custom: {
    50: '#b383d1',
    500: '#904fbd',
    950: '#000000',
  },
}
SCSS
$custom: #904fbd;
$custom-light: #b383d1;
$custom-dark: #000000;
JSON
{
  "hex": "#904fbd",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 275.455,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.17193,
    "h": 309.1
  },
  "luminance": 0.15195
}

Semantic roles & 50–950 ramp

primary
#904FBD
secondary
#B0CC9C
accent
#D55388
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #904FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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