#7B4ADE#7B4ADE

#7B4ADE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.213 H 293.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B4ADE
RGBrgb(123, 74, 222)
HSLhsl(260, 69%, 58%)
HSVhsv(260, 67%, 87%)
CMYKcmyk(44.6%, 66.7%, 0%, 12.9%)
CIE-LABlab(44.78, 53.18, -68.33)
CIE-LCHlch(44.78, 86.59, 307.89°)
OKLaboklab(54.71% 0.0841 -0.1955)
OKLCHoklch(54.71% 0.213 293.3)
XYZxyz(23.7984, 14.3817, 70.6151)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ADE #ADDE4A
analogous
#4A63DE #7B4ADE #C54ADE
triadic
#7B4ADE #DE7B4A #4ADE7B
tetradic
#7B4ADE #DE4A63 #ADDE4A #4ADEC5
square
#7B4ADE #DE4A63 #ADDE4A #4ADEC5
split-complementary
#7B4ADE #DEC54A #63DE4A
monochromatic
#431B93 #5A24C7 #7B4ADE #A17EE7 #C6B2F1

Accessibility & contrast

On white

5.42
#7B4ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7B4ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4ADE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4ADE#FFFFFF#000000##FFFFFF
##7B4ADE1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0067DB
Tritanopia (blue-blind)
#5E6E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4ade;
/* rgb */ color: rgb(123, 74, 222);
/* oklch */ color: oklch(54.7% 0.213 293.3);
Tailwind
colors: {
  custom: {
    50: '#a980e9',
    500: '#7b4ade',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ade;
$custom-light: #a980e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ade",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 222
  },
  "hsl": {
    "h": 259.865,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.21284,
    "h": 293.3
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#7B4ADE
secondary
#CCDFA4
accent
#EC3CB2
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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