#904FC0#904FC0

#904FC0 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.175 H 308.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#904FC0
RGBrgb(144, 79, 192)
HSLhsl(275, 47%, 53%)
HSVhsv(275, 59%, 75%)
CMYKcmyk(25%, 58.9%, 0%, 24.7%)
CIE-LABlab(46.08, 47.61, -48.86)
CIE-LCHlch(46.08, 68.22, 314.26°)
OKLaboklab(55.55% 0.1086 -0.1376)
OKLCHoklch(55.55% 0.175 308.3)
XYZxyz(23.8101, 15.3274, 51.5631)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FC0 #7FC04F
analogous
#574FC0 #904FC0 #C04FB7
triadic
#904FC0 #C0904F #4FC090
tetradic
#904FC0 #C0574F #7FC04F #4FB7C0
square
#904FC0 #C0574F #7FC04F #4FB7C0
split-complementary
#904FC0 #B7C04F #4FC057
monochromatic
#50276D #70379A #904FC0 #AC7CD0 #C9A9E0

Accessibility & contrast

On white

5.17
#904FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#904FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904FC0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FC0#FFFFFF#000000##FFFFFF
##904FC01.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236BC4
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#896480
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904fc0;
/* rgb */ color: rgb(144, 79, 192);
/* oklch */ color: oklch(55.5% 0.175 308.3);
Tailwind
colors: {
  custom: {
    50: '#b483d4',
    500: '#904fc0',
    950: '#000000',
  },
}
SCSS
$custom: #904fc0;
$custom-light: #b483d4;
$custom-dark: #000000;
JSON
{
  "hex": "#904fc0",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 274.513,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55547,
    "c": 0.17529,
    "h": 308.3
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#904FC0
secondary
#B2CE9D
accent
#D7518A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #904FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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