#904BDB#904BDB

#904BDB is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.211 H 302.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#904BDB
RGBrgb(144, 75, 219)
HSLhsl(269, 67%, 58%)
HSVhsv(269, 66%, 86%)
CMYKcmyk(34.2%, 65.8%, 0%, 14.1%)
CIE-LABlab(47.07, 56.00, -62.79)
CIE-LCHlch(47.07, 84.13, 311.73°)
OKLaboklab(56.82% 0.1118 -0.1785)
OKLCHoklch(56.82% 0.211 302.1)
XYZxyz(26.8008, 16.0758, 68.6951)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BDB #96DB4B
analogous
#4B4EDB #904BDB #D84BDB
triadic
#904BDB #DB904B #4BDB90
tetradic
#904BDB #DB4B4E #96DB4B #4BDBD8
square
#904BDB #DB4B4E #96DB4B #4BDBD8
split-complementary
#904BDB #DBD84B #4EDB4B
monochromatic
#531D8F #7127C2 #904BDB #AF7EE5 #CFB1EF

Accessibility & contrast

On white

4.98
#904BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#904BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BDB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BDB#FFFFFF#000000##FFFFFF
##904BDB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#056FD8
Tritanopia (blue-blind)
#816B8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904bdb;
/* rgb */ color: rgb(144, 75, 219);
/* oklch */ color: oklch(56.8% 0.211 302.1);
Tailwind
colors: {
  custom: {
    50: '#b682e7',
    500: '#904bdb',
    950: '#000000',
  },
}
SCSS
$custom: #904bdb;
$custom-light: #b682e7;
$custom-dark: #000000;
JSON
{
  "hex": "#904bdb",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 268.75,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.21065,
    "h": 302.1
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#904BDB
secondary
#C2DEA4
accent
#EA3E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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