#7F4FE6#7F4FE6

#7F4FE6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.216 H 292.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7F4FE6
RGBrgb(127, 79, 230)
HSLhsl(259, 75%, 61%)
HSVhsv(259, 66%, 90%)
CMYKcmyk(44.8%, 65.7%, 0%, 9.8%)
CIE-LABlab(46.73, 53.46, -69.67)
CIE-LCHlch(46.73, 87.81, 307.50°)
OKLaboklab(56.4% 0.0835 -0.1993)
OKLCHoklch(56.4% 0.216 292.7)
XYZxyz(25.8274, 15.8164, 76.5396)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FE6 #B6E64F
analogous
#4F6AE6 #7F4FE6 #CA4FE6
triadic
#7F4FE6 #E67F4F #4FE67F
tetradic
#7F4FE6 #E64F6A #B6E64F #4FE6CA
square
#7F4FE6 #E64F6A #B6E64F #4FE6CA
split-complementary
#7F4FE6 #E6CA4F #6AE64F
monochromatic
#4417A3 #5A1FD9 #7F4FE6 #A685EE #CDBAF5

Accessibility & contrast

On white

5.04
#7F4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7F4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FE6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FE6#FFFFFF#000000##FFFFFF
##7F4FE61.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006CE3
Tritanopia (blue-blind)
#617394
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f4fe6;
/* rgb */ color: rgb(127, 79, 230);
/* oklch */ color: oklch(56.4% 0.216 292.7);
Tailwind
colors: {
  custom: {
    50: '#ac83ef',
    500: '#7f4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fe6;
$custom-light: #ac83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fe6",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 259.073,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56401,
    "c": 0.21612,
    "h": 292.7
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#7F4FE6
secondary
#D3E5AC
accent
#D70E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7F4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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