#8908FF#8908FF

#8908FF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 54.2% C 0.292 H 296.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8908FF
RGBrgb(137, 8, 255)
HSLhsl(271, 100%, 52%)
HSVhsv(271, 97%, 100%)
CMYKcmyk(46.3%, 96.9%, 0%, 0%)
CIE-LABlab(42.33, 83.06, -90.91)
CIE-LCHlch(42.33, 123.14, 312.41°)
OKLaboklab(54.24% 0.1313 -0.2608)
OKLCHoklch(54.24% 0.292 296.7)
XYZxyz(28.4485, 12.7113, 95.5430)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8908FF #7EFF08
analogous
#0E08FF #8908FF #FF08FA
triadic
#8908FF #FF8908 #08FF89
tetradic
#8908FF #FF0E08 #7EFF08 #08FAFF
square
#8908FF #FF0E08 #7EFF08 #08FAFF
split-complementary
#8908FF #FAFF08 #08FF0E
monochromatic
#49008D #6900CA #8908FF #A645FF #C382FF

Accessibility & contrast

On white

5.93
#8908FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8908FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8908FF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8908FF#FFFFFF#000000##FFFFFF
##8908FF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#0061FB
Tritanopia (blue-blind)
#676596
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8908ff;
/* rgb */ color: rgb(137, 8, 255);
/* oklch */ color: oklch(54.2% 0.292 296.7);
Tailwind
colors: {
  custom: {
    50: '#b76aff',
    500: '#8908ff',
    950: '#000000',
  },
}
SCSS
$custom: #8908ff;
$custom-light: #b76aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8908ff",
  "rgb": {
    "r": 137,
    "g": 8,
    "b": 255
  },
  "hsl": {
    "h": 271.336,
    "s": 100,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.29197,
    "h": 296.7
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#8908FF
secondary
#AFE87B
accent
#FF298F
background
#FCF7FF
surface
#F8EDFF
border
#D1C8D7
text
#130818
muted
#827B86

Preview Lab

Preview with #8908FF

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

Preview Lab → · Contrast checker → · Palette generator →

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