#7B4FCD#7B4FCD

#7B4FCD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.186 H 295.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7B4FCD
RGBrgb(123, 79, 205)
HSLhsl(261, 56%, 56%)
HSVhsv(261, 61%, 80%)
CMYKcmyk(40%, 61.5%, 0%, 19.6%)
CIE-LABlab(44.53, 45.99, -58.99)
CIE-LCHlch(44.53, 74.80, 307.94°)
OKLaboklab(54.15% 0.0805 -0.168)
OKLCHoklch(54.15% 0.186 295.6)
XYZxyz(21.9809, 14.2102, 59.3305)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FCD #A1CD4F
analogous
#4F62CD #7B4FCD #BA4FCD
triadic
#7B4FCD #CD7B4F #4FCD7B
tetradic
#7B4FCD #CD4F62 #A1CD4F #4FCDBA
square
#7B4FCD #CD4F62 #A1CD4F #4FCDBA
split-complementary
#7B4FCD #CDBA4F #62CD4F
monochromatic
#43247E #5D31AE #7B4FCD #9F7FDB #C2AEE8

Accessibility & contrast

On white

5.47
#7B4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7B4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FCD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FCD#FFFFFF#000000##FFFFFF
##7B4FCD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0367CA
Tritanopia (blue-blind)
#666B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4fcd;
/* rgb */ color: rgb(123, 79, 205);
/* oklch */ color: oklch(54.2% 0.186 295.6);
Tailwind
colors: {
  custom: {
    50: '#a782dd',
    500: '#7b4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fcd;
$custom-light: #a782dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fcd",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 260.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.18633,
    "h": 295.6
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#7B4FCD
secondary
#C4D6A2
accent
#DF49AB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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