#904BDA#904BDA

#904BDA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.210 H 302.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#904BDA
RGBrgb(144, 75, 218)
HSLhsl(269, 66%, 57%)
HSVhsv(269, 66%, 85%)
CMYKcmyk(33.9%, 65.6%, 0%, 14.5%)
CIE-LABlab(47.01, 55.76, -62.33)
CIE-LCHlch(47.01, 83.63, 311.82°)
OKLaboklab(56.75% 0.112 -0.1772)
OKLCHoklch(56.75% 0.21 302.3)
XYZxyz(26.6696, 16.0233, 68.0038)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BDA #95DA4B
analogous
#4B4DDA #904BDA #D84BDA
triadic
#904BDA #DA904B #4BDA90
tetradic
#904BDA #DA4B4D #95DA4B #4BDAD8
square
#904BDA #DA4B4D #95DA4B #4BDAD8
split-complementary
#904BDA #DAD84B #4DDA4B
monochromatic
#531D8E #7128C0 #904BDA #AF7EE4 #CFB1EF

Accessibility & contrast

On white

4.99
#904BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#904BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BDA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BDA#FFFFFF#000000##FFFFFF
##904BDA1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0A6FD7
Tritanopia (blue-blind)
#816B8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904bda;
/* rgb */ color: rgb(144, 75, 218);
/* oklch */ color: oklch(56.8% 0.210 302.3);
Tailwind
colors: {
  custom: {
    50: '#b682e6',
    500: '#904bda',
    950: '#000000',
  },
}
SCSS
$custom: #904bda;
$custom-light: #b682e6;
$custom-dark: #000000;
JSON
{
  "hex": "#904bda",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 268.951,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.20957,
    "h": 302.3
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#904BDA
secondary
#C1DDA4
accent
#E93F97
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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