#7B4FD3#7B4FD3

#7B4FD3 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.194 H 294.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7B4FD3
RGBrgb(123, 79, 211)
HSLhsl(260, 60%, 57%)
HSVhsv(260, 63%, 83%)
CMYKcmyk(41.7%, 62.6%, 0%, 17.3%)
CIE-LABlab(44.95, 47.59, -61.76)
CIE-LCHlch(44.95, 77.97, 307.62°)
OKLaboklab(54.58% 0.0801 -0.1762)
OKLCHoklch(54.58% 0.194 294.4)
XYZxyz(22.7191, 14.5055, 63.2182)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4FD3 #A7D34F
analogous
#4F65D3 #7B4FD3 #BD4FD3
triadic
#7B4FD3 #D37B4F #4FD37B
tetradic
#7B4FD3 #D34F65 #A7D34F #4FD3BD
square
#7B4FD3 #D34F65 #A7D34F #4FD3BD
split-complementary
#7B4FD3 #D3BD4F #65D34F
monochromatic
#432286 #5C2EB7 #7B4FD3 #A080DF #C4B1EB

Accessibility & contrast

On white

5.38
#7B4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7B4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4FD3
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4FD3#FFFFFF#000000##FFFFFF
##7B4FD31.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#646D8A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b4fd3;
/* rgb */ color: rgb(123, 79, 211);
/* oklch */ color: oklch(54.6% 0.194 294.4);
Tailwind
colors: {
  custom: {
    50: '#a782e1',
    500: '#7b4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4fd3;
$custom-light: #a782e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4fd3",
  "rgb": {
    "r": 123,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.19355,
    "h": 294.4
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#7B4FD3
secondary
#C8DAA4
accent
#E345AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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