#904FDA#904FDA

#904FDA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.204 H 301.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#904FDA
RGBrgb(144, 79, 218)
HSLhsl(268, 65%, 58%)
HSVhsv(268, 64%, 85%)
CMYKcmyk(33.9%, 63.8%, 0%, 14.5%)
CIE-LABlab(47.73, 53.78, -61.16)
CIE-LCHlch(47.73, 81.44, 311.33°)
OKLaboklab(57.27% 0.1076 -0.1737)
OKLCHoklch(57.27% 0.204 301.8)
XYZxyz(26.9495, 16.5831, 68.0971)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FDA #99DA4F
analogous
#4F53DA #904FDA #D64FDA
triadic
#904FDA #DA904F #4FDA90
tetradic
#904FDA #DA4F53 #99DA4F #4FDAD6
square
#904FDA #DA4F53 #99DA4F #4FDAD6
split-complementary
#904FDA #DAD64F #53DA4F
monochromatic
#541E90 #7129C3 #904FDA #B082E5 #D0B4EF

Accessibility & contrast

On white

4.86
#904FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#904FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904FDA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FDA#FFFFFF#000000##FFFFFF
##904FDA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#1971D7
Tritanopia (blue-blind)
#816D8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #904fda;
/* rgb */ color: rgb(144, 79, 218);
/* oklch */ color: oklch(57.3% 0.204 301.8);
Tailwind
colors: {
  custom: {
    50: '#b584e6',
    500: '#904fda',
    950: '#000000',
  },
}
SCSS
$custom: #904fda;
$custom-light: #b584e6;
$custom-dark: #000000;
JSON
{
  "hex": "#904fda",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 268.058,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.20433,
    "h": 301.8
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#904FDA
secondary
#C4DEA7
accent
#E84099
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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