#7B4ECE#7B4ECE

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

Color values

HEX#7B4ECE
RGBrgb(123, 78, 206)
HSLhsl(261, 57%, 56%)
HSVhsv(261, 62%, 81%)
CMYKcmyk(40.3%, 62.1%, 0%, 19.2%)
CIE-LABlab(44.40, 46.80, -59.78)
CIE-LCHlch(44.40, 75.92, 308.05°)
OKLaboklab(54.08% 0.0816 -0.1704)
OKLCHoklch(54.08% 0.189 295.6)
XYZxyz(22.0304, 14.1155, 59.9444)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4ECE #A1CE4E
analogous
#4E61CE #7B4ECE #BB4ECE
triadic
#7B4ECE #CE7B4E #4ECE7B
tetradic
#7B4ECE #CE4E61 #A1CE4E #4ECEBB
square
#7B4ECE #CE4E61 #A1CE4E #4ECEBB
split-complementary
#7B4ECE #CEBB4E #61CE4E
monochromatic
#43237F #5D30AE #7B4ECE #9F7EDB #C2AEE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B4ECE#FFFFFF#000000##FFFFFF
##7B4ECE1.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)
#006AD2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#666B87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b4ece;
/* rgb */ color: rgb(123, 78, 206);
/* oklch */ color: oklch(54.1% 0.189 295.6);
Tailwind
colors: {
  custom: {
    50: '#a782de',
    500: '#7b4ece',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ece;
$custom-light: #a782de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ece",
  "rgb": {
    "r": 123,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 261.094,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54075,
    "c": 0.18889,
    "h": 295.6
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

primary
#7B4ECE
secondary
#C4D7A1
accent
#E048AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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