#7B4BCD#7B4BCD

#7B4BCD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.192 H 296.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7B4BCD
RGBrgb(123, 75, 205)
HSLhsl(262, 57%, 55%)
HSVhsv(262, 63%, 80%)
CMYKcmyk(40%, 63.4%, 0%, 19.6%)
CIE-LABlab(43.73, 48.15, -60.29)
CIE-LCHlch(43.73, 77.16, 308.61°)
OKLaboklab(53.57% 0.085 -0.1719)
OKLCHoklch(53.57% 0.192 296.3)
XYZxyz(21.7010, 13.6505, 59.2372)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BCD #9DCD4B
analogous
#4B5CCD #7B4BCD #BC4BCD
triadic
#7B4BCD #CD7B4B #4BCD7B
tetradic
#7B4BCD #CD4B5C #9DCD4B #4BCDBC
square
#7B4BCD #CD4B5C #9DCD4B #4BCDBC
split-complementary
#7B4BCD #CDBC4B #5CCD4B
monochromatic
#43227B #5D30AB #7B4BCD #9E7BDA #C1ABE8

Accessibility & contrast

On white

5.63
#7B4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7B4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BCD
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BCD#FFFFFF#000000##FFFFFF
##7B4BCD1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#666985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4bcd;
/* rgb */ color: rgb(123, 75, 205);
/* oklch */ color: oklch(53.6% 0.192 296.3);
Tailwind
colors: {
  custom: {
    50: '#a780dd',
    500: '#7b4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bcd;
$custom-light: #a780dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bcd",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 262.154,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.19174,
    "h": 296.3
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#7B4BCD
secondary
#C1D59F
accent
#E048A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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