#7B49CB#7B49CB

#7B49CB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.1% C 0.192 H 297.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7B49CB
RGBrgb(123, 73, 203)
HSLhsl(263, 56%, 54%)
HSVhsv(263, 64%, 80%)
CMYKcmyk(39.4%, 64%, 0%, 20.4%)
CIE-LABlab(43.19, 48.69, -60.00)
CIE-LCHlch(43.19, 77.27, 309.06°)
OKLaboklab(53.14% 0.0874 -0.171)
OKLCHoklch(53.14% 0.192 297.1)
XYZxyz(21.3276, 13.2875, 57.9294)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49CB #99CB49
analogous
#4958CB #7B49CB #BC49CB
triadic
#7B49CB #CB7B49 #49CB7B
tetradic
#7B49CB #CB4958 #99CB49 #49CBBC
square
#7B49CB #CB4958 #99CB49 #49CBBC
split-complementary
#7B49CB #CBBC49 #58CB49
monochromatic
#432277 #5E30A7 #7B49CB #9E79D9 #C0A8E6

Accessibility & contrast

On white

5.74
#7B49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7B49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49CB#FFFFFF#000000##FFFFFF
##7B49CB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#676783
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b49cb;
/* rgb */ color: rgb(123, 73, 203);
/* oklch */ color: oklch(53.1% 0.192 297.1);
Tailwind
colors: {
  custom: {
    50: '#a77edc',
    500: '#7b49cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b49cb;
$custom-light: #a77edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49cb",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 263.077,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.19205,
    "h": 297.1
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#7B49CB
secondary
#BED49C
accent
#DF49A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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