#7F4FE5#7F4FE5

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

Color values

HEX#7F4FE5
RGBrgb(127, 79, 229)
HSLhsl(259, 74%, 60%)
HSVhsv(259, 66%, 90%)
CMYKcmyk(44.5%, 65.5%, 0%, 10.2%)
CIE-LABlab(46.66, 53.19, -69.23)
CIE-LCHlch(46.66, 87.30, 307.54°)
OKLaboklab(56.33% 0.0837 -0.198)
OKLCHoklch(56.33% 0.215 292.9)
XYZxyz(25.6873, 15.7603, 75.8022)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FE5 #B5E54F
analogous
#4F6AE5 #7F4FE5 #CA4FE5
triadic
#7F4FE5 #E57F4F #4FE57F
tetradic
#7F4FE5 #E54F6A #B5E54F #4FE5CA
square
#7F4FE5 #E54F6A #B5E54F #4FE5CA
split-complementary
#7F4FE5 #E5CA4F #6AE54F
monochromatic
#4418A2 #5A20D7 #7F4FE5 #A684ED #CDBAF5

Accessibility & contrast

On white

5.06
#7F4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7F4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FE5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FE5#FFFFFF#000000##FFFFFF
##7F4FE51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#617393
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f4fe5;
/* rgb */ color: rgb(127, 79, 229);
/* oklch */ color: oklch(56.3% 0.215 292.9);
Tailwind
colors: {
  custom: {
    50: '#ac83ee',
    500: '#7f4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fe5;
$custom-light: #ac83ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fe5",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 259.2,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56325,
    "c": 0.21495,
    "h": 292.9
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#7F4FE5
secondary
#D2E5AB
accent
#D60F97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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