#7B49D2#7B49D2

#7B49D2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.200 H 295.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7B49D2
RGBrgb(123, 73, 210)
HSLhsl(262, 60%, 55%)
HSVhsv(262, 65%, 82%)
CMYKcmyk(41.4%, 65.2%, 0%, 17.6%)
CIE-LABlab(43.70, 50.52, -63.22)
CIE-LCHlch(43.70, 80.93, 308.63°)
OKLaboklab(53.66% 0.0867 -0.1805)
OKLCHoklch(53.66% 0.2 295.6)
XYZxyz(22.1807, 13.6287, 62.4222)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D2 #A0D249
analogous
#495BD2 #7B49D2 #BF49D2
triadic
#7B49D2 #D27B49 #49D27B
tetradic
#7B49D2 #D2495B #A0D249 #49D2BF
square
#7B49D2 #D2495B #A0D249 #49D2BF
split-complementary
#7B49D2 #D2BF49 #5BD249
monochromatic
#432081 #5D2CB2 #7B49D2 #9F7ADE #C2ABEA

Accessibility & contrast

On white

5.64
#7B49D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7B49D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D2#FFFFFF#000000##FFFFFF
##7B49D21.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#646987
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b49d2;
/* rgb */ color: rgb(123, 73, 210);
/* oklch */ color: oklch(53.7% 0.200 295.6);
Tailwind
colors: {
  custom: {
    50: '#a77fe1',
    500: '#7b49d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d2;
$custom-light: #a77fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d2",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 210
  },
  "hsl": {
    "h": 261.898,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53656,
    "c": 0.20021,
    "h": 295.6
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#7B49D2
secondary
#C3D89F
accent
#E344A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B49D2

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

Preview Lab → · Contrast checker → · Palette generator →

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