#7B4BCF#7B4BCF

#7B4BCF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.194 H 295.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7B4BCF
RGBrgb(123, 75, 207)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 64%, 81%)
CMYKcmyk(40.6%, 63.8%, 0%, 18.8%)
CIE-LABlab(43.87, 48.68, -61.22)
CIE-LCHlch(43.87, 78.21, 308.49°)
OKLaboklab(53.71% 0.0848 -0.1746)
OKLCHoklch(53.71% 0.194 295.9)
XYZxyz(21.9440, 13.7476, 60.5168)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BCF #9FCF4B
analogous
#4B5DCF #7B4BCF #BD4BCF
triadic
#7B4BCF #CF7B4B #4BCF7B
tetradic
#7B4BCF #CF4B5D #9FCF4B #4BCFBD
square
#7B4BCF #CF4B5D #9FCF4B #4BCFBD
split-complementary
#7B4BCF #CFBD4B #5DCF4B
monochromatic
#43227E #5D2EAE #7B4BCF #9E7BDC #C2ACE9

Accessibility & contrast

On white

5.60
#7B4BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7B4BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BCF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BCF#FFFFFF#000000##FFFFFF
##7B4BCF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#666986
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b4bcf;
/* rgb */ color: rgb(123, 75, 207);
/* oklch */ color: oklch(53.7% 0.194 295.9);
Tailwind
colors: {
  custom: {
    50: '#a780de',
    500: '#7b4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bcf;
$custom-light: #a780de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bcf",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 261.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.19409,
    "h": 295.9
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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