#7B4ADD#7B4ADD

#7B4ADD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.6% C 0.212 H 293.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7B4ADD
RGBrgb(123, 74, 221)
HSLhsl(260, 68%, 58%)
HSVhsv(260, 67%, 87%)
CMYKcmyk(44.3%, 66.5%, 0%, 13.3%)
CIE-LABlab(44.70, 52.91, -67.89)
CIE-LCHlch(44.70, 86.07, 307.93°)
OKLaboklab(54.63% 0.0843 -0.1942)
OKLCHoklch(54.63% 0.212 293.5)
XYZxyz(23.6647, 14.3283, 69.9114)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ADD #ACDD4A
analogous
#4A62DD #7B4ADD #C44ADD
triadic
#7B4ADD #DD7B4A #4ADD7B
tetradic
#7B4ADD #DD4A62 #ACDD4A #4ADDC4
square
#7B4ADD #DD4A62 #ACDD4A #4ADDC4
split-complementary
#7B4ADD #DDC44A #62DD4A
monochromatic
#431B91 #5A25C5 #7B4ADD #A17EE7 #C6B1F0

Accessibility & contrast

On white

5.43
#7B4ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7B4ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4ADD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4ADD#FFFFFF#000000##FFFFFF
##7B4ADD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#5F6E8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4add;
/* rgb */ color: rgb(123, 74, 221);
/* oklch */ color: oklch(54.6% 0.212 293.5);
Tailwind
colors: {
  custom: {
    50: '#a980e9',
    500: '#7b4add',
    950: '#000000',
  },
}
SCSS
$custom: #7b4add;
$custom-light: #a980e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4add",
  "rgb": {
    "r": 123,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 260,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.21168,
    "h": 293.5
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#7B4ADD
secondary
#CBDFA4
accent
#EB3DB1
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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