#904BE0#904BE0

#904BE0 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.216 H 301.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#904BE0
RGBrgb(144, 75, 224)
HSLhsl(268, 71%, 59%)
HSVhsv(268, 67%, 88%)
CMYKcmyk(35.7%, 66.5%, 0%, 12.2%)
CIE-LABlab(47.42, 57.21, -65.07)
CIE-LCHlch(47.42, 86.64, 311.32°)
OKLaboklab(57.18% 0.1113 -0.1852)
OKLCHoklch(57.18% 0.216 301)
XYZxyz(27.4690, 16.3431, 72.2139)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BE0 #9BE04B
analogous
#4B50E0 #904BE0 #DA4BE0
triadic
#904BE0 #E0904B #4BE090
tetradic
#904BE0 #E04B50 #9BE04B #4BE0DA
square
#904BE0 #E04B50 #9BE04B #4BE0DA
split-complementary
#904BE0 #E0DA4B #50E04B
monochromatic
#541A97 #7123CB #904BE0 #B07FE9 #D0B3F2

Accessibility & contrast

On white

4.92
#904BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#904BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BE0
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BE0#FFFFFF#000000##FFFFFF
##904BE01.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#7F6D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904be0;
/* rgb */ color: rgb(144, 75, 224);
/* oklch */ color: oklch(57.2% 0.216 301.0);
Tailwind
colors: {
  custom: {
    50: '#b682eb',
    500: '#904be0',
    950: '#000000',
  },
}
SCSS
$custom: #904be0;
$custom-light: #b682eb;
$custom-dark: #000000;
JSON
{
  "hex": "#904be0",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 267.785,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.21606,
    "h": 301
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#904BE0
secondary
#C6E1A6
accent
#ED3A9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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