Violet#8F00FF

#8F00FF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 54.8% C 0.294 H 298.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Violet — editorial page

Color values

HEX#8F00FF
RGBrgb(143, 0, 255)
HSLhsl(274, 100%, 50%)
HSVhsv(274, 100%, 100%)
CMYKcmyk(43.9%, 100%, 0%, 0%)
CIE-LABlab(42.85, 84.37, -90.02)
CIE-LCHlch(42.85, 123.38, 313.15°)
OKLaboklab(54.76% 0.1417 -0.258)
OKLCHoklch(54.76% 0.294 298.8)
XYZxyz(29.3730, 13.0591, 95.5615)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F00FF #70FF00
analogous
#0F00FF #8F00FF #FF00F0
triadic
#8F00FF #FF8F00 #00FF8F
tetradic
#8F00FF #FF0F00 #70FF00 #00F0FF
square
#8F00FF #FF0F00 #70FF00 #00F0FF
split-complementary
#8F00FF #F0FF00 #00FF0F
monochromatic
#4A0085 #6D00C2 #8F00FF #AA3DFF #C57AFF

Accessibility & contrast

On white

5.81
#8F00FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8F00FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F00FF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F00FF#FFFFFF#000000##FFFFFF
##8F00FF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065FF
Deuteranopia (green-blind)
#0063FB
Tritanopia (blue-blind)
#716396
Achromatopsia (no color)
#656565

Related colors

#810CE2
#7212C7
#6415AB
#571791
#491777
#3C155F
#2F1347
#221131
#160A1C
#000000
#9F35FF
#AE52FF
#BB6AFF
#C780FF
#D296FF
#DDABFF
#E6C0FF
#EFD5FF
#F7EAFF
#FFFFFF
#8E21EF
#8C31DF
#893CCF
#8644C0

Palettes with this color

Design tokens & code

CSS
--color: #8f00ff;
/* rgb */ color: rgb(143, 0, 255);
/* oklch */ color: oklch(54.8% 0.294 298.8);
Tailwind
colors: {
  custom: {
    50: '#bb6aff',
    500: '#8f00ff',
    950: '#000000',
  },
}
SCSS
$custom: #8f00ff;
$custom-light: #bb6aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8f00ff",
  "rgb": {
    "r": 143,
    "g": 0,
    "b": 255
  },
  "hsl": {
    "h": 273.647,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.29432,
    "h": 298.8
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#8F00FF
secondary
#A6E774
accent
#FF2987
background
#FCF7FF
surface
#F8EDFF
border
#D1C8D7
text
#130818
muted
#827B86

Preview Lab

Preview with #8F00FF

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

Preview Lab → · Contrast checker → · Palette generator →

#8F00FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva