#7B4DD1#7B4DD1

#7B4DD1 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.194 H 295.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7B4DD1
RGBrgb(123, 77, 209)
HSLhsl(261, 59%, 56%)
HSVhsv(261, 63%, 82%)
CMYKcmyk(41.1%, 63.2%, 0%, 18%)
CIE-LABlab(44.41, 48.14, -61.49)
CIE-LCHlch(44.41, 78.09, 308.05°)
OKLaboklab(54.15% 0.0825 -0.1754)
OKLCHoklch(54.15% 0.194 295.2)
XYZxyz(22.3278, 14.1217, 61.8586)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4DD1 #A3D14D
analogous
#4D61D1 #7B4DD1 #BD4DD1
triadic
#7B4DD1 #D17B4D #4DD17B
tetradic
#7B4DD1 #D14D61 #A3D14D #4DD1BD
square
#7B4DD1 #D14D61 #A3D14D #4DD1BD
split-complementary
#7B4DD1 #D1BD4D #61D14D
monochromatic
#432282 #5C2EB3 #7B4DD1 #9F7EDE #C3AEEA

Accessibility & contrast

On white

5.49
#7B4DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7B4DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4DD1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4DD1#FFFFFF#000000##FFFFFF
##7B4DD11.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0067CE
Tritanopia (blue-blind)
#656B88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4dd1;
/* rgb */ color: rgb(123, 77, 209);
/* oklch */ color: oklch(54.1% 0.194 295.2);
Tailwind
colors: {
  custom: {
    50: '#a781e0',
    500: '#7b4dd1',
    950: '#000000',
  },
}
SCSS
$custom: #7b4dd1;
$custom-light: #a781e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4dd1",
  "rgb": {
    "r": 123,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 260.909,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.19382,
    "h": 295.2
  },
  "luminance": 0.14122
}

Semantic roles & 50–950 ramp

primary
#7B4DD1
secondary
#C5D8A2
accent
#E246AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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