#7B49CF#7B49CF

#7B49CF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.197 H 296.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7B49CF
RGBrgb(123, 73, 207)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 65%, 81%)
CMYKcmyk(40.6%, 64.7%, 0%, 18.8%)
CIE-LABlab(43.48, 49.74, -61.85)
CIE-LCHlch(43.48, 79.37, 308.81°)
OKLaboklab(53.43% 0.087 -0.1764)
OKLCHoklch(53.43% 0.197 296.2)
XYZxyz(21.8105, 13.4806, 60.4723)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49CF #9DCF49
analogous
#495ACF #7B49CF #BE49CF
triadic
#7B49CF #CF7B49 #49CF7B
tetradic
#7B49CF #CF495A #9DCF49 #49CFBE
square
#7B49CF #CF495A #9DCF49 #49CFBE
split-complementary
#7B49CF #CFBE49 #5ACF49
monochromatic
#43217D #5D2EAD #7B49CF #9E79DC #C1AAE9

Accessibility & contrast

On white

5.68
#7B49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7B49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49CF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49CF#FFFFFF#000000##FFFFFF
##7B49CF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#666886
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b49cf;
/* rgb */ color: rgb(123, 73, 207);
/* oklch */ color: oklch(53.4% 0.197 296.2);
Tailwind
colors: {
  custom: {
    50: '#a77fdf',
    500: '#7b49cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b49cf;
$custom-light: #a77fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49cf",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 262.388,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53432,
    "c": 0.19672,
    "h": 296.2
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#7B49CF
secondary
#C1D69E
accent
#E146A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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