#7B49BF#7B49BF

#7B49BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.3% C 0.178 H 299.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7B49BF
RGBrgb(123, 73, 191)
HSLhsl(265, 48%, 52%)
HSVhsv(265, 62%, 75%)
CMYKcmyk(35.6%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.37, 45.59, -54.37)
CIE-LCHlch(42.37, 70.96, 309.98°)
OKLaboklab(52.27% 0.0883 -0.1545)
OKLCHoklch(52.27% 0.178 299.7)
XYZxyz(19.9526, 12.7375, 50.6875)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49BF #8DBF49
analogous
#4952BF #7B49BF #B649BF
triadic
#7B49BF #BF7B49 #49BF7B
tetradic
#7B49BF #BF4952 #8DBF49 #49BFB6
square
#7B49BF #BF4952 #8DBF49 #49BFB6
split-complementary
#7B49BF #BFB649 #52BF49
monochromatic
#422569 #5E3596 #7B49BF #9C76CF #BDA4DF

Accessibility & contrast

On white

5.92
#7B49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7B49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49BF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49BF#FFFFFF#000000##FFFFFF
##7B49BF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#6C627D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b49bf;
/* rgb */ color: rgb(123, 73, 191);
/* oklch */ color: oklch(52.3% 0.178 299.7);
Tailwind
colors: {
  custom: {
    50: '#a67ed3',
    500: '#7b49bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b49bf;
$custom-light: #a67ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49bf",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 265.424,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52272,
    "c": 0.1779,
    "h": 299.7
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#7B49BF
secondary
#B6CC98
accent
#D8509E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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