#904FF8#904FF8

#904FF8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.237 H 296.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#904FF8
RGBrgb(144, 79, 248)
HSLhsl(263, 92%, 64%)
HSVhsv(263, 68%, 97%)
CMYKcmyk(41.9%, 68.1%, 0%, 2.7%)
CIE-LABlab(49.86, 61.19, -74.62)
CIE-LCHlch(49.86, 96.50, 309.35°)
OKLaboklab(59.47% 0.1039 -0.2133)
OKLCHoklch(59.47% 0.237 296)
XYZxyz(31.2364, 18.2979, 90.6748)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FF8 #B7F84F
analogous
#4F63F8 #904FF8 #E54FF8
triadic
#904FF8 #F8904F #4FF890
tetradic
#904FF8 #F84F63 #B7F84F #4FF8E5
square
#904FF8 #F84F63 #B7F84F #4FF8E5
split-complementary
#904FF8 #F8E54F #63F84F
monochromatic
#5008C5 #6B14F6 #904FF8 #B58AFA #DAC5FD

Accessibility & contrast

On white

4.51
#904FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#904FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #904FF8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FF8#FFFFFF#000000##000000
##904FF81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#75789E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #904ff8;
/* rgb */ color: rgb(144, 79, 248);
/* oklch */ color: oklch(59.5% 0.237 296.0);
Tailwind
colors: {
  custom: {
    50: '#b885fc',
    500: '#904ff8',
    950: '#000000',
  },
}
SCSS
$custom: #904ff8;
$custom-light: #b885fc;
$custom-dark: #000000;
JSON
{
  "hex": "#904ff8",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 263.077,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.23727,
    "h": 296
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#904FF8
secondary
#D8EFB4
accent
#E6008D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #904FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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