#9478DD#9478DD

#9478DD is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.3% C 0.148 H 294.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9478DD
RGBrgb(148, 120, 221)
HSLhsl(257, 60%, 67%)
HSVhsv(257, 46%, 87%)
CMYKcmyk(33%, 45.7%, 0%, 13.3%)
CIE-LABlab(57.03, 32.99, -47.95)
CIE-LCHlch(57.03, 58.20, 304.53°)
OKLaboklab(64.29% 0.0619 -0.1349)
OKLCHoklch(64.29% 0.148 294.6)
XYZxyz(31.9771, 24.9488, 71.5234)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9478DD #C1DD78
analogous
#788FDD #9478DD #C778DD
triadic
#9478DD #DD9478 #78DD94
tetradic
#9478DD #DD788F #C1DD78 #78DDC7
square
#9478DD #DD788F #C1DD78 #78DDC7
split-complementary
#9478DD #DDC778 #8FDD78
monochromatic
#502CAF #6D47D1 #9478DD #BBA9E9 #E1DAF6

Accessibility & contrast

On white

3.51
#9478DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#9478DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9478DD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9478DD#FFFFFF#000000##000000
##9478DD1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#5B87DB
Tritanopia (blue-blind)
#838BA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9478dd;
/* rgb */ color: rgb(148, 120, 221);
/* oklch */ color: oklch(64.3% 0.148 294.6);
Tailwind
colors: {
  custom: {
    50: '#b69fe8',
    500: '#9478dd',
    950: '#000000',
  },
}
SCSS
$custom: #9478dd;
$custom-light: #b69fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9478dd",
  "rgb": {
    "r": 148,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 256.634,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.14845,
    "h": 294.6
  },
  "luminance": 0.24949
}

Semantic roles & 50–950 ramp

primary
#9478DD
secondary
#E0E9C8
accent
#C71E98
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #9478DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9478DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva