#8000FF#8000FF

#8000FF is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 53.0% C 0.293 H 293.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8000FF
RGBrgb(128, 0, 255)
HSLhsl(270, 100%, 50%)
HSVhsv(270, 100%, 100%)
CMYKcmyk(49.8%, 100%, 0%, 0%)
CIE-LABlab(40.91, 83.17, -93.29)
CIE-LCHlch(40.91, 124.98, 311.72°)
OKLaboklab(53.05% 0.1189 -0.2679)
OKLCHoklch(53.05% 0.293 293.9)
XYZxyz(26.9471, 11.8083, 95.4478)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8000FF #7FFF00
analogous
#0100FF #8000FF #FF00FE
triadic
#8000FF #FF8000 #00FF80
tetradic
#8000FF #FF0100 #7FFF00 #00FEFF
square
#8000FF #FF0100 #7FFF00 #00FEFF
split-complementary
#8000FF #FEFF00 #00FF01
monochromatic
#430085 #6100C2 #8000FF #9E3DFF #BD7AFF

Accessibility & contrast

On white

6.25
#8000FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8000FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8000FF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8000FF#FFFFFF#000000##FFFFFF
##8000FF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063FF
Deuteranopia (green-blind)
#005CFB
Tritanopia (blue-blind)
#566596
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8000ff;
/* rgb */ color: rgb(128, 0, 255);
/* oklch */ color: oklch(53.0% 0.293 293.9);
Tailwind
colors: {
  custom: {
    50: '#b267ff',
    500: '#8000ff',
    950: '#000000',
  },
}
SCSS
$custom: #8000ff;
$custom-light: #b267ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8000ff",
  "rgb": {
    "r": 128,
    "g": 0,
    "b": 255
  },
  "hsl": {
    "h": 270.118,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.53046,
    "c": 0.29312,
    "h": 293.9
  },
  "luminance": 0.11809
}

Semantic roles & 50–950 ramp

primary
#8000FF
secondary
#ADE774
accent
#FF2993
background
#FCF6FF
surface
#F8ECFF
border
#D1C7D7
text
#130718
muted
#827A86

Preview Lab

Preview with #8000FF

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

Preview Lab → · Contrast checker → · Palette generator →

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