#7F49BD#7F49BD

#7F49BD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.176 H 302.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7F49BD
RGBrgb(127, 73, 189)
HSLhsl(268, 47%, 51%)
HSVhsv(268, 61%, 74%)
CMYKcmyk(32.8%, 61.4%, 0%, 25.9%)
CIE-LABlab(42.69, 45.99, -52.66)
CIE-LCHlch(42.69, 69.92, 311.13°)
OKLaboklab(52.57% 0.0937 -0.1493)
OKLCHoklch(52.57% 0.176 302.1)
XYZxyz(20.3181, 12.9512, 49.5637)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49BD #87BD49
analogous
#494DBD #7F49BD #B949BD
triadic
#7F49BD #BD7F49 #49BD7F
tetradic
#7F49BD #BD494D #87BD49 #49BDB9
square
#7F49BD #BD494D #87BD49 #49BDB9
split-complementary
#7F49BD #BDB949 #4DBD49
monochromatic
#442566 #613593 #7F49BD #9F76CD #BEA3DE

Accessibility & contrast

On white

5.85
#7F49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7F49BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49BD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49BD#FFFFFF#000000##FFFFFF
##7F49BD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2664BA
Tritanopia (blue-blind)
#73617C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f49bd;
/* rgb */ color: rgb(127, 73, 189);
/* oklch */ color: oklch(52.6% 0.176 302.1);
Tailwind
colors: {
  custom: {
    50: '#a87ed2',
    500: '#7f49bd',
    950: '#000000',
  },
}
SCSS
$custom: #7f49bd;
$custom-light: #a87ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49bd",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 267.931,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.17628,
    "h": 302.1
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#7F49BD
secondary
#B3CA97
accent
#D65198
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7F49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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