#904BBF#904BBF

#904BBF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.180 H 309.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#904BBF
RGBrgb(144, 75, 191)
HSLhsl(276, 48%, 52%)
HSVhsv(276, 61%, 75%)
CMYKcmyk(24.6%, 60.7%, 0%, 25.1%)
CIE-LABlab(45.25, 49.44, -49.60)
CIE-LCHlch(45.25, 70.03, 314.91°)
OKLaboklab(54.93% 0.1136 -0.1398)
OKLCHoklch(54.93% 0.18 309.1)
XYZxyz(23.4198, 14.7234, 50.8883)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BBF #7ABF4B
analogous
#564BBF #904BBF #BF4BB4
triadic
#904BBF #BF904B #4BBF90
tetradic
#904BBF #BF564B #7ABF4B #4BB4BF
square
#904BBF #BF564B #7ABF4B #4BB4BF
split-complementary
#904BBF #B4BF4B #4BBF56
monochromatic
#4E266A #703697 #904BBF #AC78CF #C8A5DF

Accessibility & contrast

On white

5.32
#904BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#904BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BBF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BBF#FFFFFF#000000##FFFFFF
##904BBF1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#89617E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #904bbf;
/* rgb */ color: rgb(144, 75, 191);
/* oklch */ color: oklch(54.9% 0.180 309.1);
Tailwind
colors: {
  custom: {
    50: '#b481d3',
    500: '#904bbf',
    950: '#000000',
  },
}
SCSS
$custom: #904bbf;
$custom-light: #b481d3;
$custom-dark: #000000;
JSON
{
  "hex": "#904bbf",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 275.69,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54926,
    "c": 0.1801,
    "h": 309.1
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#904BBF
secondary
#AECC9A
accent
#D75187
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #904BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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