#7F4AE3#7F4AE3

#7F4AE3 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.219 H 294.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7F4AE3
RGBrgb(127, 74, 227)
HSLhsl(261, 73%, 59%)
HSVhsv(261, 67%, 89%)
CMYKcmyk(44.1%, 67.4%, 0%, 11%)
CIE-LABlab(45.57, 55.23, -69.86)
CIE-LCHlch(45.57, 89.05, 308.33°)
OKLaboklab(55.5% 0.0889 -0.1999)
OKLCHoklch(55.5% 0.219 294)
XYZxyz(25.0625, 14.9549, 74.2242)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4AE3 #AEE34A
analogous
#4A62E3 #7F4AE3 #CB4AE3
triadic
#7F4AE3 #E37F4A #4AE37F
tetradic
#7F4AE3 #E34A62 #AEE34A #4AE3CB
square
#7F4AE3 #E34A62 #AEE34A #4AE3CB
split-complementary
#7F4AE3 #E3CB4A #62E34A
monochromatic
#45189B #5D20D0 #7F4AE3 #A47FEB #CAB4F3

Accessibility & contrast

On white

5.26
#7F4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7F4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4AE3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4AE3#FFFFFF#000000##FFFFFF
##7F4AE31.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#636F91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f4ae3;
/* rgb */ color: rgb(127, 74, 227);
/* oklch */ color: oklch(55.5% 0.219 294.0);
Tailwind
colors: {
  custom: {
    50: '#ac80ed',
    500: '#7f4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ae3;
$custom-light: #ac80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ae3",
  "rgb": {
    "r": 127,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 260.784,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.21872,
    "h": 294
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#7F4AE3
secondary
#CEE2A6
accent
#F038B0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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