#7B4BCE#7B4BCE

#7B4BCE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.193 H 296.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7B4BCE
RGBrgb(123, 75, 206)
HSLhsl(262, 57%, 55%)
HSVhsv(262, 64%, 81%)
CMYKcmyk(40.3%, 63.6%, 0%, 19.2%)
CIE-LABlab(43.80, 48.42, -60.75)
CIE-LCHlch(43.80, 77.69, 308.55°)
OKLaboklab(53.64% 0.0849 -0.1732)
OKLCHoklch(53.64% 0.193 296.1)
XYZxyz(21.8221, 13.6989, 59.8750)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BCE #9ECE4B
analogous
#4B5CCE #7B4BCE #BD4BCE
triadic
#7B4BCE #CE7B4B #4BCE7B
tetradic
#7B4BCE #CE4B5C #9ECE4B #4BCEBD
square
#7B4BCE #CE4B5C #9ECE4B #4BCEBD
split-complementary
#7B4BCE #CEBD4B #5CCE4B
monochromatic
#43227D #5D2FAD #7B4BCE #9E7BDB #C2ABE8

Accessibility & contrast

On white

5.62
#7B4BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7B4BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BCE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BCE#FFFFFF#000000##FFFFFF
##7B4BCE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#666986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4bce;
/* rgb */ color: rgb(123, 75, 206);
/* oklch */ color: oklch(53.6% 0.193 296.1);
Tailwind
colors: {
  custom: {
    50: '#a780de',
    500: '#7b4bce',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bce;
$custom-light: #a780de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bce",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 261.985,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.19292,
    "h": 296.1
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#7B4BCE
secondary
#C2D69F
accent
#E047A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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