#7B49D0#7B49D0

#7B49D0 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.198 H 296.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7B49D0
RGBrgb(123, 73, 208)
HSLhsl(262, 59%, 55%)
HSVhsv(262, 65%, 82%)
CMYKcmyk(40.9%, 64.9%, 0%, 18.4%)
CIE-LABlab(43.55, 50.00, -62.31)
CIE-LCHlch(43.55, 79.89, 308.75°)
OKLaboklab(53.51% 0.0869 -0.1778)
OKLCHoklch(53.51% 0.198 296)
XYZxyz(21.9331, 13.5297, 61.1182)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49D0 #9ED049
analogous
#495BD0 #7B49D0 #BE49D0
triadic
#7B49D0 #D07B49 #49D07B
tetradic
#7B49D0 #D0495B #9ED049 #49D0BE
square
#7B49D0 #D0495B #9ED049 #49D0BE
split-complementary
#7B49D0 #D0BE49 #5BD049
monochromatic
#43217E #5D2DAF #7B49D0 #9E7ADD #C2AAE9

Accessibility & contrast

On white

5.67
#7B49D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7B49D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49D0
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49D0#FFFFFF#000000##FFFFFF
##7B49D01.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#656886
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b49d0;
/* rgb */ color: rgb(123, 73, 208);
/* oklch */ color: oklch(53.5% 0.198 296.0);
Tailwind
colors: {
  custom: {
    50: '#a77fdf',
    500: '#7b49d0',
    950: '#000000',
  },
}
SCSS
$custom: #7b49d0;
$custom-light: #a77fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49d0",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 208
  },
  "hsl": {
    "h": 262.222,
    "s": 58.952,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.19788,
    "h": 296
  },
  "luminance": 0.1353
}

Semantic roles & 50–950 ramp

primary
#7B49D0
secondary
#C2D79E
accent
#E246A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B49D0

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

Preview Lab → · Contrast checker → · Palette generator →

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