#7F4FEA#7F4FEA

#7F4FEA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.221 H 292.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7F4FEA
RGBrgb(127, 79, 234)
HSLhsl(259, 79%, 61%)
HSVhsv(259, 66%, 92%)
CMYKcmyk(45.7%, 66.2%, 0%, 8.2%)
CIE-LABlab(47.03, 54.52, -71.44)
CIE-LCHlch(47.03, 89.87, 307.35°)
OKLaboklab(56.71% 0.083 -0.2045)
OKLCHoklch(56.71% 0.221 292.1)
XYZxyz(26.3955, 16.0436, 79.5319)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FEA #BAEA4F
analogous
#4F6DEA #7F4FEA #CD4FEA
triadic
#7F4FEA #EA7F4F #4FEA7F
tetradic
#7F4FEA #EA4F6D #BAEA4F #4FEACD
square
#7F4FEA #EA4F6D #BAEA4F #4FEACD
split-complementary
#7F4FEA #EACD4F #6DEA4F
monochromatic
#4314AA #581BE1 #7F4FEA #A786F1 #CFBCF7

Accessibility & contrast

On white

4.99
#7F4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7F4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FEA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FEA#FFFFFF#000000##FFFFFF
##7F4FEA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#5F7596
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f4fea;
/* rgb */ color: rgb(127, 79, 234);
/* oklch */ color: oklch(56.7% 0.221 292.1);
Tailwind
colors: {
  custom: {
    50: '#ac83f2',
    500: '#7f4fea',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fea;
$custom-light: #ac83f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fea",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 258.581,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.22073,
    "h": 292.1
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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