#904FDE#904FDE

#904FDE is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.209 H 300.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#904FDE
RGBrgb(144, 79, 222)
HSLhsl(267, 68%, 59%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(35.1%, 64.4%, 0%, 12.9%)
CIE-LABlab(48.00, 54.75, -62.99)
CIE-LCHlch(48.00, 83.46, 311.00°)
OKLaboklab(57.55% 0.1072 -0.1791)
OKLCHoklch(57.55% 0.209 300.9)
XYZxyz(27.4792, 16.7950, 70.8871)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FDE #9DDE4F
analogous
#4F56DE #904FDE #D84FDE
triadic
#904FDE #DE904F #4FDE90
tetradic
#904FDE #DE4F56 #9DDE4F #4FDED8
square
#904FDE #DE4F56 #9DDE4F #4FDED8
split-complementary
#904FDE #DED84F #56DE4F
monochromatic
#541C96 #7026CA #904FDE #B183E8 #D1B6F1

Accessibility & contrast

On white

4.82
#904FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#904FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904FDE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FDE#FFFFFF#000000##FFFFFF
##904FDE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0B71DB
Tritanopia (blue-blind)
#7F6F90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #904fde;
/* rgb */ color: rgb(144, 79, 222);
/* oklch */ color: oklch(57.6% 0.209 300.9);
Tailwind
colors: {
  custom: {
    50: '#b684e9',
    500: '#904fde',
    950: '#000000',
  },
}
SCSS
$custom: #904fde;
$custom-light: #b684e9;
$custom-dark: #000000;
JSON
{
  "hex": "#904fde",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 267.273,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.20876,
    "h": 300.9
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#904FDE
secondary
#C7E0A8
accent
#EB3D9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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