#7B4CD6#7B4CD6

#7B4CD6 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.201 H 294.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7B4CD6
RGBrgb(123, 76, 214)
HSLhsl(260, 63%, 57%)
HSVhsv(260, 64%, 84%)
CMYKcmyk(42.5%, 64.5%, 0%, 16.1%)
CIE-LABlab(44.57, 50.00, -64.10)
CIE-LCHlch(44.57, 81.30, 307.96°)
OKLaboklab(54.38% 0.0831 -0.1831)
OKLCHoklch(54.38% 0.201 294.4)
XYZxyz(22.8872, 14.2343, 65.1469)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CD6 #A7D64C
analogous
#4C62D6 #7B4CD6 #C04CD6
triadic
#7B4CD6 #D67B4C #4CD67B
tetradic
#7B4CD6 #D64C62 #A7D64C #4CD6C0
square
#7B4CD6 #D64C62 #A7D64C #4CD6C0
split-complementary
#7B4CD6 #D6C04C #62D64C
monochromatic
#431F88 #5C2BBA #7B4CD6 #A07EE1 #C4B0ED

Accessibility & contrast

On white

5.46
#7B4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7B4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CD6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CD6#FFFFFF#000000##FFFFFF
##7B4CD61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#626C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4cd6;
/* rgb */ color: rgb(123, 76, 214);
/* oklch */ color: oklch(54.4% 0.201 294.4);
Tailwind
colors: {
  custom: {
    50: '#a881e4',
    500: '#7b4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #7b4cd6;
$custom-light: #a881e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4cd6",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 260.435,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54376,
    "c": 0.20103,
    "h": 294.4
  },
  "luminance": 0.14235
}

Semantic roles & 50–950 ramp

primary
#7B4CD6
secondary
#C8DBA3
accent
#E642AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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