#7F4FE1#7F4FE1

#7F4FE1 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.210 H 293.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7F4FE1
RGBrgb(127, 79, 225)
HSLhsl(260, 71%, 60%)
HSVhsv(260, 65%, 88%)
CMYKcmyk(43.6%, 64.9%, 0%, 11.8%)
CIE-LABlab(46.36, 52.12, -67.44)
CIE-LCHlch(46.36, 85.23, 307.70°)
OKLaboklab(56.02% 0.0841 -0.1927)
OKLCHoklch(56.02% 0.21 293.6)
XYZxyz(25.1353, 15.5395, 72.8947)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FE1 #B1E14F
analogous
#4F68E1 #7F4FE1 #C84FE1
triadic
#7F4FE1 #E17F4F #4FE17F
tetradic
#7F4FE1 #E14F68 #B1E14F #4FE1C8
square
#7F4FE1 #E14F68 #B1E14F #4FE1C8
split-complementary
#7F4FE1 #E1C84F #68E14F
monochromatic
#451A9B #5C23CF #7F4FE1 #A583EA #CBB8F3

Accessibility & contrast

On white

5.11
#7F4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7F4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FE1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FE1#FFFFFF#000000##FFFFFF
##7F4FE11.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#637291
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f4fe1;
/* rgb */ color: rgb(127, 79, 225);
/* oklch */ color: oklch(56.0% 0.210 293.6);
Tailwind
colors: {
  custom: {
    50: '#ab83eb',
    500: '#7f4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fe1;
$custom-light: #ab83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fe1",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 259.726,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.21031,
    "h": 293.6
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#7F4FE1
secondary
#D0E2AA
accent
#EE3AB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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