#904BCF#904BCF

#904BCF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.198 H 304.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#904BCF
RGBrgb(144, 75, 207)
HSLhsl(271, 58%, 55%)
HSVhsv(271, 64%, 81%)
CMYKcmyk(30.4%, 63.8%, 0%, 18.8%)
CIE-LABlab(46.27, 53.15, -57.22)
CIE-LCHlch(46.27, 78.10, 312.89°)
OKLaboklab(55.99% 0.1129 -0.1622)
OKLCHoklch(55.99% 0.198 304.8)
XYZxyz(25.2777, 15.4666, 60.6731)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BCF #8ACF4B
analogous
#4E4BCF #904BCF #CF4BCC
triadic
#904BCF #CF904B #4BCF90
tetradic
#904BCF #CF4E4B #8ACF4B #4BCCCF
square
#904BCF #CF4E4B #8ACF4B #4BCCCF
split-complementary
#904BCF #CCCF4B #4BCF4E
monochromatic
#52227E #712EAE #904BCF #AE7BDC #CCACE9

Accessibility & contrast

On white

5.13
#904BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#904BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BCF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BCF#FFFFFF#000000##FFFFFF
##904BCF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#856786
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #904bcf;
/* rgb */ color: rgb(144, 75, 207);
/* oklch */ color: oklch(56.0% 0.198 304.8);
Tailwind
colors: {
  custom: {
    50: '#b581de',
    500: '#904bcf',
    950: '#000000',
  },
}
SCSS
$custom: #904bcf;
$custom-light: #b581de;
$custom-dark: #000000;
JSON
{
  "hex": "#904bcf",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 271.364,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.19759,
    "h": 304.8
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#904BCF
secondary
#BAD69F
accent
#E14790
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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