#7F4FE0#7F4FE0

#7F4FE0 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.209 H 293.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7F4FE0
RGBrgb(127, 79, 224)
HSLhsl(260, 70%, 59%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(43.3%, 64.7%, 0%, 12.2%)
CIE-LABlab(46.29, 51.86, -66.99)
CIE-LCHlch(46.29, 84.71, 307.75°)
OKLaboklab(55.95% 0.0842 -0.1914)
OKLCHoklch(55.95% 0.209 293.8)
XYZxyz(24.9993, 15.4851, 72.1783)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FE0 #B0E04F
analogous
#4F68E0 #7F4FE0 #C74FE0
triadic
#7F4FE0 #E07F4F #4FE07F
tetradic
#7F4FE0 #E04F68 #B0E04F #4FE0C7
square
#7F4FE0 #E04F68 #B0E04F #4FE0C7
split-complementary
#7F4FE0 #E0C74F #68E04F
monochromatic
#451B9A #5C24CE #7F4FE0 #A583E9 #CBB7F2

Accessibility & contrast

On white

5.13
#7F4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7F4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FE0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FE0#FFFFFF#000000##FFFFFF
##7F4FE01.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#647191
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f4fe0;
/* rgb */ color: rgb(127, 79, 224);
/* oklch */ color: oklch(55.9% 0.209 293.8);
Tailwind
colors: {
  custom: {
    50: '#ab83eb',
    500: '#7f4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fe0;
$custom-light: #ab83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fe0",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 259.862,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.20915,
    "h": 293.8
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#7F4FE0
secondary
#CFE2A9
accent
#ED3BB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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