#904BDD#904BDD

#904BDD is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.213 H 301.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#904BDD
RGBrgb(144, 75, 221)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 87%)
CMYKcmyk(34.8%, 66.1%, 0%, 13.3%)
CIE-LABlab(47.21, 56.48, -63.70)
CIE-LCHlch(47.21, 85.14, 311.56°)
OKLaboklab(56.97% 0.1116 -0.1812)
OKLCHoklch(56.97% 0.213 301.6)
XYZxyz(27.0657, 16.1818, 70.0901)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BDD #98DD4B
analogous
#4B4FDD #904BDD #D94BDD
triadic
#904BDD #DD904B #4BDD90
tetradic
#904BDD #DD4B4F #98DD4B #4BDDD9
square
#904BDD #DD4B4F #98DD4B #4BDDD9
split-complementary
#904BDD #DDD94B #4FDD4B
monochromatic
#541C92 #7125C5 #904BDD #B07EE7 #CFB2F0

Accessibility & contrast

On white

4.96
#904BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#904BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BDD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BDD#FFFFFF#000000##FFFFFF
##904BDD1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#806C8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904bdd;
/* rgb */ color: rgb(144, 75, 221);
/* oklch */ color: oklch(57.0% 0.213 301.6);
Tailwind
colors: {
  custom: {
    50: '#b682e8',
    500: '#904bdd',
    950: '#000000',
  },
}
SCSS
$custom: #904bdd;
$custom-light: #b682e8;
$custom-dark: #000000;
JSON
{
  "hex": "#904bdd",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 268.356,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56965,
    "c": 0.21282,
    "h": 301.6
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#904BDD
secondary
#C3DFA5
accent
#EB3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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