#7F4EBF#7F4EBF

#7F4EBF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.171 H 300.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7F4EBF
RGBrgb(127, 78, 191)
HSLhsl(266, 47%, 53%)
HSVhsv(266, 59%, 75%)
CMYKcmyk(33.5%, 59.2%, 0%, 25.1%)
CIE-LABlab(43.83, 43.79, -51.99)
CIE-LCHlch(43.83, 67.97, 310.11°)
OKLaboklab(53.44% 0.0876 -0.1473)
OKLCHoklch(53.44% 0.171 300.7)
XYZxyz(20.8785, 13.7223, 50.8288)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4EBF #8EBF4E
analogous
#4E55BF #7F4EBF #B84EBF
triadic
#7F4EBF #BF7F4E #4EBF7F
tetradic
#7F4EBF #BF4E55 #8EBF4E #4EBFB8
square
#7F4EBF #BF4E55 #8EBF4E #4EBFB8
split-complementary
#7F4EBF #BFB84E #55BF4E
monochromatic
#45276C #613799 #7F4EBF #A07BCF #C0A8E0

Accessibility & contrast

On white

5.61
#7F4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7F4EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4EBF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4EBF#FFFFFF#000000##FFFFFF
##7F4EBF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#72657F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f4ebf;
/* rgb */ color: rgb(127, 78, 191);
/* oklch */ color: oklch(53.4% 0.171 300.7);
Tailwind
colors: {
  custom: {
    50: '#a882d3',
    500: '#7f4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #7f4ebf;
$custom-light: #a882d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4ebf",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 266.018,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.17139,
    "h": 300.7
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#7F4EBF
secondary
#B8CD9C
accent
#D7519D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7F4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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