#7F50F3#7F50F3

#7F50F3 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.230 H 290.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7F50F3
RGBrgb(127, 80, 243)
HSLhsl(257, 87%, 63%)
HSVhsv(257, 67%, 95%)
CMYKcmyk(47.7%, 67.1%, 0%, 4.7%)
CIE-LABlab(47.90, 56.43, -75.08)
CIE-LCHlch(47.90, 93.92, 306.93°)
OKLaboklab(57.55% 0.0808 -0.2152)
OKLCHoklch(57.55% 0.23 290.6)
XYZxyz(27.7941, 16.7193, 86.5393)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F50F3 #C4F350
analogous
#5072F3 #7F50F3 #D150F3
triadic
#7F50F3 #F37F50 #50F37F
tetradic
#7F50F3 #F35072 #C4F350 #50F3D1
square
#7F50F3 #F35072 #C4F350 #50F3D1
split-complementary
#7F50F3 #F3D150 #72F350
monochromatic
#3F0DBC #5517EF #7F50F3 #A989F7 #D3C3FB

Accessibility & contrast

On white

4.83
#7F50F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7F50F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F50F3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F50F3#FFFFFF#000000##FFFFFF
##7F50F31.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#59799B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f50f3;
/* rgb */ color: rgb(127, 80, 243);
/* oklch */ color: oklch(57.6% 0.230 290.6);
Tailwind
colors: {
  custom: {
    50: '#ad84f8',
    500: '#7f50f3',
    950: '#000000',
  },
}
SCSS
$custom: #7f50f3;
$custom-light: #ad84f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f50f3",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 243
  },
  "hsl": {
    "h": 257.301,
    "s": 87.166,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.22988,
    "h": 290.6
  },
  "luminance": 0.1672
}

Semantic roles & 50–950 ramp

primary
#7F50F3
secondary
#DCECB2
accent
#E402A3
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F50F3

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

Preview Lab → · Contrast checker → · Palette generator →

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