#7B4BDA#7B4BDA

#7B4BDA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.5% C 0.207 H 293.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7B4BDA
RGBrgb(123, 75, 218)
HSLhsl(260, 66%, 57%)
HSVhsv(260, 66%, 85%)
CMYKcmyk(43.6%, 65.6%, 0%, 14.5%)
CIE-LABlab(44.67, 51.59, -66.23)
CIE-LCHlch(44.67, 83.95, 307.92°)
OKLaboklab(54.54% 0.0836 -0.1893)
OKLCHoklch(54.54% 0.207 293.8)
XYZxyz(23.3359, 14.3044, 67.8476)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BDA #AADA4B
analogous
#4B62DA #7B4BDA #C34BDA
triadic
#7B4BDA #DA7B4B #4BDA7B
tetradic
#7B4BDA #DA4B62 #AADA4B #4BDAC3
square
#7B4BDA #DA4B62 #AADA4B #4BDAC3
split-complementary
#7B4BDA #DAC34B #62DA4B
monochromatic
#431D8E #5B28C0 #7B4BDA #A07EE4 #C5B1EF

Accessibility & contrast

On white

5.44
#7B4BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7B4BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BDA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BDA#FFFFFF#000000##FFFFFF
##7B4BDA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#606D8C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4bda;
/* rgb */ color: rgb(123, 75, 218);
/* oklch */ color: oklch(54.5% 0.207 293.8);
Tailwind
colors: {
  custom: {
    50: '#a880e6',
    500: '#7b4bda',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bda;
$custom-light: #a880e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bda",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 260.14,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.20697,
    "h": 293.8
  },
  "luminance": 0.14305
}

Semantic roles & 50–950 ramp

primary
#7B4BDA
secondary
#CADDA4
accent
#E93FB0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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