#7B49CA#7B49CA

#7B49CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.191 H 297.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7B49CA
RGBrgb(123, 73, 202)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 64%, 79%)
CMYKcmyk(39.1%, 63.9%, 0%, 20.8%)
CIE-LABlab(43.12, 48.43, -59.54)
CIE-LCHlch(43.12, 76.75, 309.13°)
OKLaboklab(53.06% 0.0875 -0.1696)
OKLCHoklch(53.06% 0.191 297.3)
XYZxyz(21.2089, 13.2400, 57.3038)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49CA #98CA49
analogous
#4958CA #7B49CA #BC49CA
triadic
#7B49CA #CA7B49 #49CA7B
tetradic
#7B49CA #CA4958 #98CA49 #49CABC
square
#7B49CA #CA4958 #98CA49 #49CABC
split-complementary
#7B49CA #CABC49 #58CA49
monochromatic
#432276 #5E30A6 #7B49CA #9D78D8 #C0A8E6

Accessibility & contrast

On white

5.76
#7B49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7B49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49CA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49CA#FFFFFF#000000##FFFFFF
##7B49CA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#686683
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b49ca;
/* rgb */ color: rgb(123, 73, 202);
/* oklch */ color: oklch(53.1% 0.191 297.3);
Tailwind
colors: {
  custom: {
    50: '#a77edb',
    500: '#7b49ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b49ca;
$custom-light: #a77edb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49ca",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 263.256,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.19088,
    "h": 297.3
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#7B49CA
secondary
#BED39C
accent
#DE4AA5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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