#9278EA#9278EA

#9278EA is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.9% C 0.166 H 291.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9278EA
RGBrgb(146, 120, 234)
HSLhsl(254, 73%, 69%)
HSVhsv(254, 49%, 92%)
CMYKcmyk(37.6%, 48.7%, 0%, 8.2%)
CIE-LABlab(57.54, 35.90, -54.41)
CIE-LCHlch(57.54, 65.19, 303.42°)
OKLaboklab(64.86% 0.0609 -0.1539)
OKLCHoklch(64.86% 0.166 291.6)
XYZxyz(33.4178, 25.4836, 80.9841)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9278EA #D0EA78
analogous
#7897EA #9278EA #CB78EA
triadic
#9278EA #EA9278 #78EA92
tetradic
#9278EA #EA7897 #D0EA78 #78EACB
square
#9278EA #EA7897 #D0EA78 #78EACB
split-complementary
#9278EA #EACB78 #97EA78
monochromatic
#461FC8 #6743E2 #9278EA #BDADF2 #E8E2FA

Accessibility & contrast

On white

3.44
#9278EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9278EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9278EA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9278EA#FFFFFF#000000##000000
##9278EA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEE
Deuteranopia (green-blind)
#5088E7
Tritanopia (blue-blind)
#7B8FA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9278ea;
/* rgb */ color: rgb(146, 120, 234);
/* oklch */ color: oklch(64.9% 0.166 291.6);
Tailwind
colors: {
  custom: {
    50: '#b69ff1',
    500: '#9278ea',
    950: '#000000',
  },
}
SCSS
$custom: #9278ea;
$custom-light: #b69ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#9278ea",
  "rgb": {
    "r": 146,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 253.684,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.16551,
    "h": 291.6
  },
  "luminance": 0.25484
}

Semantic roles & 50–950 ramp

primary
#9278EA
secondary
#E8EFCE
accent
#D510A8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9278EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9278EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva