#9278FE#9278FE

#9278FE is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.1% C 0.191 H 289.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9278FE
RGBrgb(146, 120, 254)
HSLhsl(252, 99%, 73%)
HSVhsv(252, 53%, 100%)
CMYKcmyk(42.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(58.69, 41.32, -63.65)
CIE-LCHlch(58.69, 75.88, 302.99°)
OKLaboklab(66.09% 0.0623 -0.181)
OKLCHoklch(66.09% 0.191 289)
XYZxyz(36.4549, 26.6984, 96.9792)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9278FE #E4FE78
analogous
#78A1FE #9278FE #D578FE
triadic
#9278FE #FE9278 #78FE92
tetradic
#9278FE #FE78A1 #E4FE78 #78FED5
square
#9278FE #FE78A1 #E4FE78 #78FED5
split-complementary
#9278FE #FED578 #A1FE78
monochromatic
#3202FA #613BFE #9278FE #C3B5FE #E6E1FF

Accessibility & contrast

On white

3.31
#9278FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9278FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9278FE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9278FE#FFFFFF#000000##000000
##9278FE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#398AFB
Tritanopia (blue-blind)
#7295B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9278fe;
/* rgb */ color: rgb(146, 120, 254);
/* oklch */ color: oklch(66.1% 0.191 289.0);
Tailwind
colors: {
  custom: {
    50: '#b89fff',
    500: '#9278fe',
    950: '#000000',
  },
}
SCSS
$custom: #9278fe;
$custom-light: #b89fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9278fe",
  "rgb": {
    "r": 146,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 251.642,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66086,
    "c": 0.19141,
    "h": 289
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#9278FE
secondary
#F0F7D4
accent
#E600B9
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9278FE

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

Preview Lab → · Contrast checker → · Palette generator →

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