#7F50E3#7F50E3

#7F50E3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.211 H 293.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7F50E3
RGBrgb(127, 80, 227)
HSLhsl(259, 72%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.1%, 64.8%, 0%, 11%)
CIE-LABlab(46.70, 52.13, -68.02)
CIE-LCHlch(46.70, 85.70, 307.47°)
OKLaboklab(56.31% 0.0829 -0.1945)
OKLCHoklch(56.31% 0.211 293.1)
XYZxyz(25.4824, 15.7946, 74.3642)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50E3 #B4E350
analogous
#506AE3 #7F50E3 #C950E3
triadic
#7F50E3 #E37F50 #50E37F
tetradic
#7F50E3 #E3506A #B4E350 #50E3C9
square
#7F50E3 #E3506A #B4E350 #50E3C9
split-complementary
#7F50E3 #E3C950 #6AE350
monochromatic
#44199F #5B22D4 #7F50E3 #A685EB #CCBAF4

Accessibility & contrast

On white

5.05
#7F50E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7F50E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50E3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50E3#FFFFFF#000000##FFFFFF
##7F50E31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#627393
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f50e3;
/* rgb */ color: rgb(127, 80, 227);
/* oklch */ color: oklch(56.3% 0.211 293.1);
Tailwind
colors: {
  custom: {
    50: '#ab84ed',
    500: '#7f50e3',
    950: '#000000',
  },
}
SCSS
$custom: #7f50e3;
$custom-light: #ab84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50e3",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 227
  },
  "hsl": {
    "h": 259.184,
    "s": 72.414,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.21139,
    "h": 293.1
  },
  "luminance": 0.15795
}

Semantic roles & 50–950 ramp

primary
#7F50E3
secondary
#D2E4AB
accent
#D41196
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F50E3

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

Preview Lab → · Contrast checker → · Palette generator →

#7F50E3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva