#7F4BBD#7F4BBD

#7F4BBD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.9% C 0.173 H 301.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7F4BBD
RGBrgb(127, 75, 189)
HSLhsl(267, 46%, 52%)
HSVhsv(267, 60%, 74%)
CMYKcmyk(32.8%, 60.3%, 0%, 25.9%)
CIE-LABlab(43.09, 44.92, -52.02)
CIE-LCHlch(43.09, 68.73, 310.81°)
OKLaboklab(52.86% 0.0913 -0.1474)
OKLCHoklch(52.86% 0.173 301.8)
XYZxyz(20.4516, 13.2182, 49.6082)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4BBD #89BD4B
analogous
#4B50BD #7F4BBD #B84BBD
triadic
#7F4BBD #BD7F4B #4BBD7F
tetradic
#7F4BBD #BD4B50 #89BD4B #4BBDB8
square
#7F4BBD #BD4B50 #89BD4B #4BBDB8
split-complementary
#7F4BBD #BDB84B #50BD4B
monochromatic
#442668 #613694 #7F4BBD #9F78CD #BFA5DE

Accessibility & contrast

On white

5.76
#7F4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7F4BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4BBD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4BBD#FFFFFF#000000##FFFFFF
##7F4BBD1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#73637D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f4bbd;
/* rgb */ color: rgb(127, 75, 189);
/* oklch */ color: oklch(52.9% 0.173 301.8);
Tailwind
colors: {
  custom: {
    50: '#a880d1',
    500: '#7f4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #7f4bbd;
$custom-light: #a880d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4bbd",
  "rgb": {
    "r": 127,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 267.368,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.17339,
    "h": 301.8
  },
  "luminance": 0.13218
}

Semantic roles & 50–950 ramp

primary
#7F4BBD
secondary
#B4CB99
accent
#D6529A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7F4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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