#9278EB#9278EB

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

Color values

HEX#9278EB
RGBrgb(146, 120, 235)
HSLhsl(254, 74%, 70%)
HSVhsv(254, 49%, 92%)
CMYKcmyk(37.9%, 48.9%, 0%, 7.8%)
CIE-LABlab(57.60, 36.17, -54.88)
CIE-LCHlch(57.60, 65.72, 303.39°)
OKLaboklab(64.92% 0.061 -0.1552)
OKLCHoklch(64.92% 0.167 291.5)
XYZxyz(33.5619, 25.5412, 81.7428)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9278EB #D1EB78
analogous
#7898EB #9278EB #CC78EB
triadic
#9278EB #EB9278 #78EB92
tetradic
#9278EB #EB7898 #D1EB78 #78EBCC
square
#9278EB #EB7898 #D1EB78 #78EBCC
split-complementary
#9278EB #EBCC78 #98EB78
monochromatic
#451ECB #6743E3 #9278EB #BDADF3 #E8E3FB

Accessibility & contrast

On white

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

On black

6.11
#9278EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9278EB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9278EB#FFFFFF#000000##000000
##9278EB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#7B8FA6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9278eb;
/* rgb */ color: rgb(146, 120, 235);
/* oklch */ color: oklch(64.9% 0.167 291.5);
Tailwind
colors: {
  custom: {
    50: '#b69ff2',
    500: '#9278eb',
    950: '#000000',
  },
}
SCSS
$custom: #9278eb;
$custom-light: #b69ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#9278eb",
  "rgb": {
    "r": 146,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 253.565,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.16681,
    "h": 291.5
  },
  "luminance": 0.25542
}

Semantic roles & 50–950 ramp

primary
#9278EB
secondary
#E8F0CF
accent
#D60FA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9278EB

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

Preview Lab → · Contrast checker → · Palette generator →

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