#904BEC#904BEC

#904BEC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.229 H 298.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#904BEC
RGBrgb(144, 75, 236)
HSLhsl(266, 81%, 61%)
HSVhsv(266, 68%, 93%)
CMYKcmyk(39%, 68.2%, 0%, 7.5%)
CIE-LABlab(48.28, 60.13, -70.46)
CIE-LCHlch(48.28, 92.62, 310.48°)
OKLaboklab(58.07% 0.1096 -0.2011)
OKLCHoklch(58.07% 0.229 298.6)
XYZxyz(29.1542, 17.0172, 81.0893)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BEC #A7EC4B
analogous
#4B56EC #904BEC #E04BEC
triadic
#904BEC #EC904B #4BEC90
tetradic
#904BEC #EC4B56 #A7EC4B #4BECE0
square
#904BEC #EC4B56 #A7EC4B #4BECE0
split-complementary
#904BEC #ECE04B #56EC4B
monochromatic
#5312AB #6E18E2 #904BEC #B282F2 #D4BAF8

Accessibility & contrast

On white

4.77
#904BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#904BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BEC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BEC#FFFFFF#000000##FFFFFF
##904BEC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#7A7296
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #904bec;
/* rgb */ color: rgb(144, 75, 236);
/* oklch */ color: oklch(58.1% 0.229 298.6);
Tailwind
colors: {
  custom: {
    50: '#b782f3',
    500: '#904bec',
    950: '#000000',
  },
}
SCSS
$custom: #904bec;
$custom-light: #b782f3;
$custom-dark: #000000;
JSON
{
  "hex": "#904bec",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 265.714,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.22901,
    "h": 298.6
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

primary
#904BEC
secondary
#CEE8AB
accent
#DD0882
background
#FBF8FF
surface
#F7EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #904BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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