#5007FF#5007FF

#5007FF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 48.7% C 0.295 H 278.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5007FF
RGBrgb(80, 7, 255)
HSLhsl(258, 100%, 51%)
HSVhsv(258, 97%, 100%)
CMYKcmyk(68.6%, 97.3%, 0%, 0%)
CIE-LABlab(36.13, 79.62, -101.37)
CIE-LCHlch(36.13, 128.90, 308.15°)
OKLaboklab(48.7% 0.0427 -0.2924)
OKLCHoklch(48.7% 0.295 278.3)
XYZxyz(21.4284, 9.0755, 95.2108)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5007FF #B6FF07
analogous
#073AFF #5007FF #CC07FF
triadic
#5007FF #FF5007 #07FF50
tetradic
#5007FF #FF073A #B6FF07 #07FFCC
square
#5007FF #FF073A #B6FF07 #07FFCC
split-complementary
#5007FF #FFCC07 #3AFF07
monochromatic
#29008C #3B00C9 #5007FF #7B44FF #A681FF

Accessibility & contrast

On white

7.46
#5007FF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5007FF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5007FF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5007FF#FFFFFF#000000##FFFFFF
##5007FF1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DFF
Deuteranopia (green-blind)
#004BFB
Tritanopia (blue-blind)
#006A96
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5007ff;
/* rgb */ color: rgb(80, 7, 255);
/* oklch */ color: oklch(48.7% 0.295 278.3);
Tailwind
colors: {
  custom: {
    50: '#9b63ff',
    500: '#5007ff',
    950: '#000000',
  },
}
SCSS
$custom: #5007ff;
$custom-light: #9b63ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5007ff",
  "rgb": {
    "r": 80,
    "g": 7,
    "b": 255
  },
  "hsl": {
    "h": 257.661,
    "s": 100,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48696,
    "c": 0.29547,
    "h": 278.3
  },
  "luminance": 0.09077
}

Semantic roles & 50–950 ramp

primary
#5007FF
secondary
#C7E87A
accent
#FF29C0
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#110618
muted
#807A86

Preview Lab

Preview with #5007FF

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

Preview Lab → · Contrast checker → · Palette generator →

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