#7B49DA#7B49DA

#7B49DA is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.209 H 294.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7B49DA
RGBrgb(123, 73, 218)
HSLhsl(261, 66%, 57%)
HSVhsv(261, 67%, 85%)
CMYKcmyk(43.6%, 66.5%, 0%, 14.5%)
CIE-LABlab(44.29, 52.63, -66.85)
CIE-LCHlch(44.29, 85.08, 308.22°)
OKLaboklab(54.27% 0.0857 -0.1911)
OKLCHoklch(54.27% 0.209 294.1)
XYZxyz(23.2024, 14.0374, 67.8031)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49DA #A8DA49
analogous
#495FDA #7B49DA #C449DA
triadic
#7B49DA #DA7B49 #49DA7B
tetradic
#7B49DA #DA495F #A8DA49 #49DAC4
square
#7B49DA #DA495F #A8DA49 #49DAC4
split-complementary
#7B49DA #DAC449 #5FDA49
monochromatic
#431C8C #5B27BF #7B49DA #A07CE4 #C5AFEF

Accessibility & contrast

On white

5.52
#7B49DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7B49DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49DA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49DA#FFFFFF#000000##FFFFFF
##7B49DA1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADE
Deuteranopia (green-blind)
#0066D7
Tritanopia (blue-blind)
#606C8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b49da;
/* rgb */ color: rgb(123, 73, 218);
/* oklch */ color: oklch(54.3% 0.209 294.1);
Tailwind
colors: {
  custom: {
    50: '#a87fe6',
    500: '#7b49da',
    950: '#000000',
  },
}
SCSS
$custom: #7b49da;
$custom-light: #a87fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49da",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 218
  },
  "hsl": {
    "h": 260.69,
    "s": 66.21,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54267,
    "c": 0.20945,
    "h": 294.1
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#7B49DA
secondary
#C9DDA2
accent
#E93FAE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B49DA

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

Preview Lab → · Contrast checker → · Palette generator →

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