#5000F5#5000F5

#5000F5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 47.3% C 0.287 H 279.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5000F5
RGBrgb(80, 0, 245)
HSLhsl(260, 100%, 48%)
HSVhsv(260, 100%, 96%)
CMYKcmyk(67.3%, 100%, 0%, 3.9%)
CIE-LABlab(34.59, 78.25, -98.31)
CIE-LCHlch(34.59, 125.65, 308.52°)
OKLaboklab(47.33% 0.0475 -0.2834)
OKLCHoklch(47.33% 0.287 279.5)
XYZxyz(19.7844, 8.2963, 86.9272)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5000F5 #A5F500
analogous
#002AF5 #5000F5 #CA00F5
triadic
#5000F5 #F55000 #00F550
tetradic
#5000F5 #F5002A #A5F500 #00F5CA
square
#5000F5 #F5002A #A5F500 #00F5CA
split-complementary
#5000F5 #F5CA00 #2AF500
monochromatic
#28007B #3C00B8 #5000F5 #7633FF #9F70FF

Accessibility & contrast

On white

7.90
#5000F5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5000F5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5000F5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5000F5#FFFFFF#000000##FFFFFF
##5000F51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059FA
Deuteranopia (green-blind)
#0049F1
Tritanopia (blue-blind)
#006490
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5000f5;
/* rgb */ color: rgb(80, 0, 245);
/* oklch */ color: oklch(47.3% 0.287 279.5);
Tailwind
colors: {
  custom: {
    50: '#9960fa',
    500: '#5000f5',
    950: '#000000',
  },
}
SCSS
$custom: #5000f5;
$custom-light: #9960fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5000f5",
  "rgb": {
    "r": 80,
    "g": 0,
    "b": 245
  },
  "hsl": {
    "h": 259.592,
    "s": 100,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.28736,
    "h": 279.5
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#5000F5
secondary
#BDE56C
accent
#FF29B9
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100618
muted
#7F7A86

Preview Lab

Preview with #5000F5

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

Preview Lab → · Contrast checker → · Palette generator →

#5000F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva