#9278C8#9278C8

#9278C8 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.0% C 0.120 H 297.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9278C8
RGBrgb(146, 120, 200)
HSLhsl(260, 42%, 63%)
HSVhsv(260, 40%, 78%)
CMYKcmyk(27%, 40%, 0%, 21.6%)
CIE-LABlab(55.80, 27.10, -38.04)
CIE-LCHlch(55.80, 46.70, 305.47°)
OKLaboklab(62.98% 0.056 -0.1061)
OKLCHoklch(62.98% 0.12 297.8)
XYZxyz(28.9934, 23.7138, 57.6821)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9278C8 #AEC878
analogous
#7886C8 #9278C8 #BA78C8
triadic
#9278C8 #C89278 #78C892
tetradic
#9278C8 #C87886 #AEC878 #78C8BA
square
#9278C8 #C87886 #AEC878 #78C8BA
split-complementary
#9278C8 #C8BA78 #86C878
monochromatic
#54398C #6F4DB6 #9278C8 #B5A3DA #D8CFEB

Accessibility & contrast

On white

3.66
#9278C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9278C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9278C8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9278C8#FFFFFF#000000##000000
##9278C81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CB
Deuteranopia (green-blind)
#6785C6
Tritanopia (blue-blind)
#878696
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9278c8;
/* rgb */ color: rgb(146, 120, 200);
/* oklch */ color: oklch(63.0% 0.120 297.8);
Tailwind
colors: {
  custom: {
    50: '#b49fd9',
    500: '#9278c8',
    950: '#000000',
  },
}
SCSS
$custom: #9278c8;
$custom-light: #b49fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9278c8",
  "rgb": {
    "r": 146,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 259.5,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62976,
    "c": 0.12003,
    "h": 297.8
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#9278C8
secondary
#D3DCBF
accent
#B5308A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9278C8

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

Preview Lab → · Contrast checker → · Palette generator →

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