#904BE3#904BE3

#904BE3 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.219 H 300.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#904BE3
RGBrgb(144, 75, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 67%, 89%)
CMYKcmyk(36.6%, 67%, 0%, 11%)
CIE-LABlab(47.63, 57.93, -66.43)
CIE-LCHlch(47.63, 88.14, 311.09°)
OKLaboklab(57.4% 0.1109 -0.1892)
OKLCHoklch(57.4% 0.219 300.4)
XYZxyz(27.8794, 16.5073, 74.3756)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BE3 #9EE34B
analogous
#4B52E3 #904BE3 #DC4BE3
triadic
#904BE3 #E3904B #4BE390
tetradic
#904BE3 #E34B52 #9EE34B #4BE3DC
square
#904BE3 #E34B52 #9EE34B #4BE3DC
split-complementary
#904BE3 #E3DC4B #52E34B
monochromatic
#54189B #7020D0 #904BE3 #B180EB #D1B5F3

Accessibility & contrast

On white

4.88
#904BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#904BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BE3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BE3#FFFFFF#000000##FFFFFF
##904BE31.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#7E6E91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #904be3;
/* rgb */ color: rgb(144, 75, 227);
/* oklch */ color: oklch(57.4% 0.219 300.4);
Tailwind
colors: {
  custom: {
    50: '#b682ed',
    500: '#904be3',
    950: '#000000',
  },
}
SCSS
$custom: #904be3;
$custom-light: #b682ed;
$custom-dark: #000000;
JSON
{
  "hex": "#904be3",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 267.237,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.574,
    "c": 0.21932,
    "h": 300.4
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#904BE3
secondary
#C8E3A7
accent
#F0389C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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