#7F4FE3#7F4FE3

#7F4FE3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.213 H 293.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7F4FE3
RGBrgb(127, 79, 227)
HSLhsl(259, 73%, 60%)
HSVhsv(259, 65%, 89%)
CMYKcmyk(44.1%, 65.2%, 0%, 11%)
CIE-LABlab(46.51, 52.66, -68.33)
CIE-LCHlch(46.51, 86.27, 307.62°)
OKLaboklab(56.17% 0.0839 -0.1954)
OKLCHoklch(56.17% 0.213 293.2)
XYZxyz(25.4097, 15.6493, 74.3400)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FE3 #B3E34F
analogous
#4F69E3 #7F4FE3 #C94FE3
triadic
#7F4FE3 #E37F4F #4FE37F
tetradic
#7F4FE3 #E34F69 #B3E34F #4FE3C9
square
#7F4FE3 #E34F69 #B3E34F #4FE3C9
split-complementary
#7F4FE3 #E3C94F #69E34F
monochromatic
#44199E #5B22D3 #7F4FE3 #A584EB #CCB9F4

Accessibility & contrast

On white

5.08
#7F4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7F4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FE3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FE3#FFFFFF#000000##FFFFFF
##7F4FE31.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#627292
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f4fe3;
/* rgb */ color: rgb(127, 79, 227);
/* oklch */ color: oklch(56.2% 0.213 293.2);
Tailwind
colors: {
  custom: {
    50: '#ab83ed',
    500: '#7f4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fe3;
$custom-light: #ab83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fe3",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 259.459,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.21264,
    "h": 293.2
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#7F4FE3
secondary
#D1E3AA
accent
#EF39B4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7F4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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