#7B4BCA#7B4BCA

#7B4BCA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.188 H 296.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7B4BCA
RGBrgb(123, 75, 202)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 63%, 79%)
CMYKcmyk(39.1%, 62.9%, 0%, 20.8%)
CIE-LABlab(43.52, 47.36, -58.90)
CIE-LCHlch(43.52, 75.58, 308.80°)
OKLaboklab(53.35% 0.0852 -0.1678)
OKLCHoklch(53.35% 0.188 296.9)
XYZxyz(21.3424, 13.5070, 57.3483)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BCA #9ACA4B
analogous
#4B5BCA #7B4BCA #BA4BCA
triadic
#7B4BCA #CA7B4B #4BCA7B
tetradic
#7B4BCA #CA4B5B #9ACA4B #4BCABA
square
#7B4BCA #CA4B5B #9ACA4B #4BCABA
split-complementary
#7B4BCA #CABA4B #5BCA4B
monochromatic
#432377 #5E31A7 #7B4BCA #9E7AD8 #C0AAE6

Accessibility & contrast

On white

5.67
#7B4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7B4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4BCA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BCA#FFFFFF#000000##FFFFFF
##7B4BCA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#686884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b4bca;
/* rgb */ color: rgb(123, 75, 202);
/* oklch */ color: oklch(53.3% 0.188 296.9);
Tailwind
colors: {
  custom: {
    50: '#a780db',
    500: '#7b4bca',
    950: '#000000',
  },
}
SCSS
$custom: #7b4bca;
$custom-light: #a780db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4bca",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 262.677,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53348,
    "c": 0.18818,
    "h": 296.9
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#7B4BCA
secondary
#BFD39D
accent
#DE4AA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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