#904BE1#904BE1

#904BE1 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.217 H 300.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#904BE1
RGBrgb(144, 75, 225)
HSLhsl(268, 71%, 59%)
HSVhsv(268, 67%, 88%)
CMYKcmyk(36%, 66.7%, 0%, 11.8%)
CIE-LABlab(47.49, 57.45, -65.52)
CIE-LCHlch(47.49, 87.14, 311.24°)
OKLaboklab(57.25% 0.1112 -0.1865)
OKLCHoklch(57.25% 0.217 300.8)
XYZxyz(27.6050, 16.3975, 72.9303)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BE1 #9CE14B
analogous
#4B51E1 #904BE1 #DB4BE1
triadic
#904BE1 #E1904B #4BE190
tetradic
#904BE1 #E14B51 #9CE14B #4BE1DB
square
#904BE1 #E14B51 #9CE14B #4BE1DB
split-complementary
#904BE1 #E1DB4B #51E14B
monochromatic
#541998 #7122CD #904BE1 #B07FEA #D1B4F2

Accessibility & contrast

On white

4.91
#904BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#904BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BE1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BE1#FFFFFF#000000##FFFFFF
##904BE11.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#7E6E90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #904be1;
/* rgb */ color: rgb(144, 75, 225);
/* oklch */ color: oklch(57.3% 0.217 300.8);
Tailwind
colors: {
  custom: {
    50: '#b682eb',
    500: '#904be1',
    950: '#000000',
  },
}
SCSS
$custom: #904be1;
$custom-light: #b682eb;
$custom-dark: #000000;
JSON
{
  "hex": "#904be1",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 267.6,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.21715,
    "h": 300.8
  },
  "luminance": 0.16398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #904BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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