#904FDD#904FDD

#904FDD is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.208 H 301.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#904FDD
RGBrgb(144, 79, 221)
HSLhsl(267, 68%, 59%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(34.8%, 64.3%, 0%, 13.3%)
CIE-LABlab(47.93, 54.51, -62.54)
CIE-LCHlch(47.93, 82.96, 311.08°)
OKLaboklab(57.48% 0.1073 -0.1778)
OKLCHoklch(57.48% 0.208 301.1)
XYZxyz(27.3456, 16.7416, 70.1834)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FDD #9CDD4F
analogous
#4F55DD #904FDD #D74FDD
triadic
#904FDD #DD904F #4FDD90
tetradic
#904FDD #DD4F55 #9CDD4F #4FDDD7
square
#904FDD #DD4F55 #9CDD4F #4FDDD7
split-complementary
#904FDD #DDD74F #55DD4F
monochromatic
#541D95 #7127C8 #904FDD #B082E7 #D1B6F1

Accessibility & contrast

On white

4.83
#904FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#904FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904FDD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FDD#FFFFFF#000000##FFFFFF
##904FDD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0F71DA
Tritanopia (blue-blind)
#806F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #904fdd;
/* rgb */ color: rgb(144, 79, 221);
/* oklch */ color: oklch(57.5% 0.208 301.1);
Tailwind
colors: {
  custom: {
    50: '#b684e8',
    500: '#904fdd',
    950: '#000000',
  },
}
SCSS
$custom: #904fdd;
$custom-light: #b684e8;
$custom-dark: #000000;
JSON
{
  "hex": "#904fdd",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 267.465,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.20765,
    "h": 301.1
  },
  "luminance": 0.16742
}

Semantic roles & 50–950 ramp

primary
#904FDD
secondary
#C6E0A8
accent
#EA3D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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