#9278DB#9278DB

#9278DB is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.0% C 0.146 H 294.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9278DB
RGBrgb(146, 120, 219)
HSLhsl(256, 58%, 66%)
HSVhsv(256, 45%, 86%)
CMYKcmyk(33.3%, 45.2%, 0%, 14.1%)
CIE-LABlab(56.74, 31.94, -47.29)
CIE-LCHlch(56.74, 57.07, 304.04°)
OKLaboklab(63.99% 0.0592 -0.1331)
OKLCHoklch(63.99% 0.146 294)
XYZxyz(31.3535, 24.6578, 70.1116)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9278DB #C1DB78
analogous
#7890DB #9278DB #C478DB
triadic
#9278DB #DB9278 #78DB92
tetradic
#9278DB #DB7890 #C1DB78 #78DBC4
square
#9278DB #DB7890 #C1DB78 #78DBC4
split-complementary
#9278DB #DBC478 #90DB78
monochromatic
#4F2EAB #6B48CE #9278DB #B9A8E8 #E0D9F5

Accessibility & contrast

On white

3.54
#9278DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#9278DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9278DB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9278DB#FFFFFF#000000##000000
##9278DB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DF
Deuteranopia (green-blind)
#5B87D9
Tritanopia (blue-blind)
#818B9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9278db;
/* rgb */ color: rgb(146, 120, 219);
/* oklch */ color: oklch(64.0% 0.146 294.0);
Tailwind
colors: {
  custom: {
    50: '#b59fe6',
    500: '#9278db',
    950: '#000000',
  },
}
SCSS
$custom: #9278db;
$custom-light: #b59fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9278db",
  "rgb": {
    "r": 146,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 255.758,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63994,
    "c": 0.14564,
    "h": 294
  },
  "luminance": 0.24658
}

Semantic roles & 50–950 ramp

primary
#9278DB
secondary
#DFE7C7
accent
#C5209A
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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