#7F49BB#7F49BB

#7F49BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.174 H 302.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7F49BB
RGBrgb(127, 73, 187)
HSLhsl(268, 46%, 51%)
HSVhsv(268, 61%, 73%)
CMYKcmyk(32.1%, 61%, 0%, 26.7%)
CIE-LABlab(42.56, 45.49, -51.70)
CIE-LCHlch(42.56, 68.87, 311.34°)
OKLaboklab(52.43% 0.0938 -0.1465)
OKLCHoklch(52.43% 0.174 302.6)
XYZxyz(20.1025, 12.8650, 48.4282)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F49BB #85BB49
analogous
#494CBB #7F49BB #B849BB
triadic
#7F49BB #BB7F49 #49BB7F
tetradic
#7F49BB #BB494C #85BB49 #49BBB8
square
#7F49BB #BB494C #85BB49 #49BBB8
split-complementary
#7F49BB #BBB849 #4CBB49
monochromatic
#432564 #613691 #7F49BB #9E76CC #BEA2DC

Accessibility & contrast

On white

5.88
#7F49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7F49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F49BB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F49BB#FFFFFF#000000##FFFFFF
##7F49BB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0263BF
Deuteranopia (green-blind)
#2964B8
Tritanopia (blue-blind)
#73617B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f49bb;
/* rgb */ color: rgb(127, 73, 187);
/* oklch */ color: oklch(52.4% 0.174 302.6);
Tailwind
colors: {
  custom: {
    50: '#a87ed0',
    500: '#7f49bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f49bb;
$custom-light: #a87ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f49bb",
  "rgb": {
    "r": 127,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 268.421,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52432,
    "c": 0.17394,
    "h": 302.6
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#7F49BB
secondary
#B1C997
accent
#D55397
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7F49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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