#7B49C2#7B49C2

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

Color values

HEX#7B49C2
RGBrgb(123, 73, 194)
HSLhsl(265, 50%, 52%)
HSVhsv(265, 62%, 76%)
CMYKcmyk(36.6%, 62.4%, 0%, 23.9%)
CIE-LABlab(42.57, 46.36, -55.80)
CIE-LCHlch(42.57, 72.54, 309.72°)
OKLaboklab(52.48% 0.0881 -0.1586)
OKLCHoklch(52.48% 0.181 299)
XYZxyz(20.2861, 12.8709, 52.4440)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49C2 #90C249
analogous
#4954C2 #7B49C2 #B749C2
triadic
#7B49C2 #C27B49 #49C27B
tetradic
#7B49C2 #C24954 #90C249 #49C2B7
square
#7B49C2 #C24954 #90C249 #49C2B7
split-complementary
#7B49C2 #C2B749 #54C249
monochromatic
#42246C #5E349A #7B49C2 #9C77D1 #BDA5E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B49C2#FFFFFF#000000##FFFFFF
##7B49C21.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)
#0064C6
Deuteranopia (green-blind)
#1463BF
Tritanopia (blue-blind)
#6B647F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7b49c2;
/* rgb */ color: rgb(123, 73, 194);
/* oklch */ color: oklch(52.5% 0.181 299.0);
Tailwind
colors: {
  custom: {
    50: '#a67ed5',
    500: '#7b49c2',
    950: '#000000',
  },
}
SCSS
$custom: #7b49c2;
$custom-light: #a67ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49c2",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 264.793,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.18146,
    "h": 299
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#7B49C2
secondary
#B8CE99
accent
#D94EA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B49C2

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

Preview Lab → · Contrast checker → · Palette generator →

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