#7B4ED0#7B4ED0

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

Color values

HEX#7B4ED0
RGBrgb(123, 78, 208)
HSLhsl(261, 58%, 56%)
HSVhsv(261, 63%, 82%)
CMYKcmyk(40.9%, 62.5%, 0%, 18.4%)
CIE-LABlab(44.54, 47.33, -60.71)
CIE-LCHlch(44.54, 76.98, 307.94°)
OKLaboklab(54.22% 0.0814 -0.1731)
OKLCHoklch(54.22% 0.191 295.2)
XYZxyz(22.2749, 14.2133, 61.2321)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ED0 #A3D04E
analogous
#4E62D0 #7B4ED0 #BC4ED0
triadic
#7B4ED0 #D07B4E #4ED07B
tetradic
#7B4ED0 #D04E62 #A3D04E #4ED0BC
square
#7B4ED0 #D04E62 #A3D04E #4ED0BC
split-complementary
#7B4ED0 #D0BC4E #62D04E
monochromatic
#432281 #5C2FB2 #7B4ED0 #9F7EDD #C3AFEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B4ED0#FFFFFF#000000##FFFFFF
##7B4ED01.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b4ed0;
/* rgb */ color: rgb(123, 78, 208);
/* oklch */ color: oklch(54.2% 0.191 295.2);
Tailwind
colors: {
  custom: {
    50: '#a782df',
    500: '#7b4ed0',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ed0;
$custom-light: #a782df;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ed0",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 208
  },
  "hsl": {
    "h": 260.769,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.19129,
    "h": 295.2
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#7B4ED0
secondary
#C5D8A2
accent
#E147AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7B4ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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