#7B49E2#7B49E2

#7B49E2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.219 H 292.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7B49E2
RGBrgb(123, 73, 226)
HSLhsl(260, 73%, 59%)
HSVhsv(260, 68%, 89%)
CMYKcmyk(45.6%, 67.7%, 0%, 11.4%)
CIE-LABlab(44.89, 54.75, -70.41)
CIE-LCHlch(44.89, 89.20, 307.87°)
OKLaboklab(54.89% 0.0845 -0.2016)
OKLCHoklch(54.89% 0.219 292.7)
XYZxyz(24.2746, 14.4663, 73.4500)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49E2 #B0E249
analogous
#4963E2 #7B49E2 #C749E2
triadic
#7B49E2 #E27B49 #49E27B
tetradic
#7B49E2 #E24963 #B0E249 #49E2C7
square
#7B49E2 #E24963 #B0E249 #49E2C7
split-complementary
#7B49E2 #E2C749 #63E249
monochromatic
#421898 #5921CD #7B49E2 #A17EEA #C8B3F3

Accessibility & contrast

On white

5.39
#7B49E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7B49E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49E2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49E2#FFFFFF#000000##FFFFFF
##7B49E21.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#5C6F90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b49e2;
/* rgb */ color: rgb(123, 73, 226);
/* oklch */ color: oklch(54.9% 0.219 292.7);
Tailwind
colors: {
  custom: {
    50: '#a97fec',
    500: '#7b49e2',
    950: '#000000',
  },
}
SCSS
$custom: #7b49e2;
$custom-light: #a97fec;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49e2",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 259.608,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.21861,
    "h": 292.7
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#7B49E2
secondary
#CEE2A5
accent
#EF39B4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B49E2

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

Preview Lab → · Contrast checker → · Palette generator →

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