#9408FF#9408FF

#9408FF is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 55.5% C 0.293 H 300.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9408FF
RGBrgb(148, 8, 255)
HSLhsl(274, 100%, 52%)
HSVhsv(274, 97%, 100%)
CMYKcmyk(42%, 96.9%, 0%, 0%)
CIE-LABlab(43.78, 84.04, -88.46)
CIE-LCHlch(43.78, 122.02, 313.53°)
OKLaboklab(55.53% 0.1476 -0.2533)
OKLCHoklch(55.53% 0.293 300.2)
XYZxyz(30.3450, 13.6892, 95.6319)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9408FF #73FF08
analogous
#1908FF #9408FF #FF08EF
triadic
#9408FF #FF9408 #08FF94
tetradic
#9408FF #FF1908 #73FF08 #08EFFF
square
#9408FF #FF1908 #73FF08 #08EFFF
split-complementary
#9408FF #EFFF08 #08FF19
monochromatic
#50008D #7200CA #9408FF #AF45FF #C982FF

Accessibility & contrast

On white

5.62
#9408FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9408FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9408FF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9408FF#FFFFFF#000000##FFFFFF
##9408FF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067FF
Deuteranopia (green-blind)
#0066FB
Tritanopia (blue-blind)
#796496
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9408ff;
/* rgb */ color: rgb(148, 8, 255);
/* oklch */ color: oklch(55.5% 0.293 300.2);
Tailwind
colors: {
  custom: {
    50: '#be6bff',
    500: '#9408ff',
    950: '#000000',
  },
}
SCSS
$custom: #9408ff;
$custom-light: #be6bff;
$custom-dark: #000000;
JSON
{
  "hex": "#9408ff",
  "rgb": {
    "r": 148,
    "g": 8,
    "b": 255
  },
  "hsl": {
    "h": 274.008,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.29316,
    "h": 300.2
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#9408FF
secondary
#AAE87B
accent
#FF2986
background
#FCF7FF
surface
#F8EDFF
border
#D1C8D7
text
#130818
muted
#827B86

Preview Lab

Preview with #9408FF

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

Preview Lab → · Contrast checker → · Palette generator →

#9408FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva