#904BDF#904BDF

#904BDF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.215 H 301.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#904BDF
RGBrgb(144, 75, 223)
HSLhsl(268, 70%, 58%)
HSVhsv(268, 66%, 87%)
CMYKcmyk(35.4%, 66.4%, 0%, 12.5%)
CIE-LABlab(47.35, 56.97, -64.61)
CIE-LCHlch(47.35, 86.14, 311.40°)
OKLaboklab(57.11% 0.1114 -0.1839)
OKLCHoklch(57.11% 0.215 301.2)
XYZxyz(27.3338, 16.2890, 71.5018)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BDF #9ADF4B
analogous
#4B50DF #904BDF #DA4BDF
triadic
#904BDF #DF904B #4BDF90
tetradic
#904BDF #DF4B50 #9ADF4B #4BDFDA
square
#904BDF #DF4B50 #9ADF4B #4BDFDA
split-complementary
#904BDF #DFDA4B #50DF4B
monochromatic
#541B95 #7124C9 #904BDF #B07FE8 #D0B3F1

Accessibility & contrast

On white

4.93
#904BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#904BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BDF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BDF#FFFFFF#000000##FFFFFF
##904BDF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#7F6D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904bdf;
/* rgb */ color: rgb(144, 75, 223);
/* oklch */ color: oklch(57.1% 0.215 301.2);
Tailwind
colors: {
  custom: {
    50: '#b682ea',
    500: '#904bdf',
    950: '#000000',
  },
}
SCSS
$custom: #904bdf;
$custom-light: #b682ea;
$custom-dark: #000000;
JSON
{
  "hex": "#904bdf",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 267.973,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.21499,
    "h": 301.2
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#904BDF
secondary
#C5E0A6
accent
#ED3B9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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