#7F4FBF#7F4FBF

#7F4FBF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.170 H 300.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7F4FBF
RGBrgb(127, 79, 191)
HSLhsl(266, 47%, 53%)
HSVhsv(266, 59%, 75%)
CMYKcmyk(33.5%, 58.6%, 0%, 25.1%)
CIE-LABlab(44.04, 43.24, -51.66)
CIE-LCHlch(44.04, 67.37, 309.93°)
OKLaboklab(53.6% 0.0863 -0.1464)
OKLCHoklch(53.6% 0.17 300.5)
XYZxyz(20.9501, 13.8654, 50.8527)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4FBF #8FBF4F
analogous
#4F57BF #7F4FBF #B74FBF
triadic
#7F4FBF #BF7F4F #4FBF7F
tetradic
#7F4FBF #BF4F57 #8FBF4F #4FBFB7
square
#7F4FBF #BF4F57 #8FBF4F #4FBFB7
split-complementary
#7F4FBF #BFB74F #57BF4F
monochromatic
#45276C #613899 #7F4FBF #A07CCF #C0A9E0

Accessibility & contrast

On white

5.57
#7F4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7F4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4FBF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4FBF#FFFFFF#000000##FFFFFF
##7F4FBF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1668C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#72667F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f4fbf;
/* rgb */ color: rgb(127, 79, 191);
/* oklch */ color: oklch(53.6% 0.170 300.5);
Tailwind
colors: {
  custom: {
    50: '#a882d3',
    500: '#7f4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #7f4fbf;
$custom-light: #a882d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4fbf",
  "rgb": {
    "r": 127,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 265.714,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.16992,
    "h": 300.5
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#7F4FBF
secondary
#B8CD9D
accent
#D6519D
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7F4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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