#7F4FE9#7F4FE9

#7F4FE9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.220 H 292.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7F4FE9
RGBrgb(127, 79, 233)
HSLhsl(259, 78%, 61%)
HSVhsv(259, 66%, 91%)
CMYKcmyk(45.5%, 66.1%, 0%, 8.6%)
CIE-LABlab(46.96, 54.26, -71.00)
CIE-LCHlch(46.96, 89.36, 307.39°)
OKLaboklab(56.63% 0.0831 -0.2032)
OKLCHoklch(56.63% 0.22 292.2)
XYZxyz(26.2523, 15.9863, 78.7775)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FE9 #B9E94F
analogous
#4F6CE9 #7F4FE9 #CC4FE9
triadic
#7F4FE9 #E97F4F #4FE97F
tetradic
#7F4FE9 #E94F6C #B9E94F #4FE9CC
square
#7F4FE9 #E94F6C #B9E94F #4FE9CC
split-complementary
#7F4FE9 #E9CC4F #6CE94F
monochromatic
#4315A9 #591CDF #7F4FE9 #A785F0 #CEBCF7

Accessibility & contrast

On white

5.00
#7F4FE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7F4FE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FE9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FE9#FFFFFF#000000##FFFFFF
##7F4FE91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#006CE6
Tritanopia (blue-blind)
#5F7595
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f4fe9;
/* rgb */ color: rgb(127, 79, 233);
/* oklch */ color: oklch(56.6% 0.220 292.2);
Tailwind
colors: {
  custom: {
    50: '#ac83f1',
    500: '#7f4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fe9;
$custom-light: #ac83f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fe9",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 258.701,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.21958,
    "h": 292.2
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#7F4FE9
secondary
#D5E7AD
accent
#DA0B9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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