#7B49DB#7B49DB

#7B49DB is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.211 H 294.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7B49DB
RGBrgb(123, 73, 219)
HSLhsl(261, 67%, 57%)
HSVhsv(261, 67%, 86%)
CMYKcmyk(43.8%, 66.7%, 0%, 14.1%)
CIE-LABlab(44.36, 52.90, -67.30)
CIE-LCHlch(44.36, 85.60, 308.17°)
OKLaboklab(54.34% 0.0855 -0.1924)
OKLCHoklch(54.34% 0.211 294)
XYZxyz(23.3336, 14.0899, 68.4943)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B49DB #A9DB49
analogous
#4960DB #7B49DB #C449DB
triadic
#7B49DB #DB7B49 #49DB7B
tetradic
#7B49DB #DB4960 #A9DB49 #49DBC4
square
#7B49DB #DB4960 #A9DB49 #49DBC4
split-complementary
#7B49DB #DBC449 #60DB49
monochromatic
#431C8E #5B26C1 #7B49DB #A07CE5 #C5AFEF

Accessibility & contrast

On white

5.50
#7B49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7B49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B49DB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B49DB#FFFFFF#000000##FFFFFF
##7B49DB1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#606C8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b49db;
/* rgb */ color: rgb(123, 73, 219);
/* oklch */ color: oklch(54.3% 0.211 294.0);
Tailwind
colors: {
  custom: {
    50: '#a87fe7',
    500: '#7b49db',
    950: '#000000',
  },
}
SCSS
$custom: #7b49db;
$custom-light: #a87fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b49db",
  "rgb": {
    "r": 123,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 260.548,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54344,
    "c": 0.2106,
    "h": 294
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#7B49DB
secondary
#C9DDA2
accent
#EA3EAF
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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