#7B49BE#7B49BE

#7B49BE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.177 H 300.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7B49BE
RGBrgb(123, 73, 190)
HSLhsl(266, 47%, 52%)
HSVhsv(266, 62%, 75%)
CMYKcmyk(35.3%, 61.6%, 0%, 25.5%)
CIE-LABlab(42.30, 45.33, -53.90)
CIE-LCHlch(42.30, 70.43, 310.06°)
OKLaboklab(52.2% 0.0883 -0.1531)
OKLCHoklch(52.2% 0.177 300)
XYZxyz(19.8429, 12.6936, 50.1099)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49BE #8CBE49
analogous
#4952BE #7B49BE #B649BE
triadic
#7B49BE #BE7B49 #49BE7B
tetradic
#7B49BE #BE4952 #8CBE49 #49BEB6
square
#7B49BE #BE4952 #8CBE49 #49BEB6
split-complementary
#7B49BE #BEB649 #52BE49
monochromatic
#412568 #5E3595 #7B49BE #9C76CE #BCA3DE

Accessibility & contrast

On white

5.93
#7B49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7B49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49BE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49BE#FFFFFF#000000##FFFFFF
##7B49BE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#1E63BB
Tritanopia (blue-blind)
#6D627D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b49be;
/* rgb */ color: rgb(123, 73, 190);
/* oklch */ color: oklch(52.2% 0.177 300.0);
Tailwind
colors: {
  custom: {
    50: '#a67ed2',
    500: '#7b49be',
    950: '#000000',
  },
}
SCSS
$custom: #7b49be;
$custom-light: #a67ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49be",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 265.641,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.17672,
    "h": 300
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#7B49BE
secondary
#B5CB98
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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