#7B2BAE#7B2BAE

#7B2BAE is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.198 H 308.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7B2BAE
RGBrgb(123, 43, 174)
HSLhsl(277, 60%, 43%)
HSVhsv(277, 75%, 68%)
CMYKcmyk(29.3%, 75.3%, 0%, 31.8%)
CIE-LABlab(35.97, 55.85, -54.69)
CIE-LCHlch(35.97, 78.17, 315.60°)
OKLaboklab(47.31% 0.1227 -0.1552)
OKLCHoklch(47.31% 0.198 308.3)
XYZxyz(16.6707, 8.9950, 40.8942)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BAE #5EAE2B
analogous
#392BAE #7B2BAE #AE2BA0
triadic
#7B2BAE #AE7B2B #2BAE7B
tetradic
#7B2BAE #AE392B #5EAE2B #2BA0AE
square
#7B2BAE #AE392B #5EAE2B #2BA0AE
split-complementary
#7B2BAE #A0AE2B #2BAE39
monochromatic
#36134C #581F7D #7B2BAE #9B45D1 #B576DD

Accessibility & contrast

On white

7.50
#7B2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7B2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BAE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BAE#FFFFFF#000000##FFFFFF
##7B2BAE1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#734B6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2bae;
/* rgb */ color: rgb(123, 43, 174);
/* oklch */ color: oklch(47.3% 0.198 308.3);
Tailwind
colors: {
  custom: {
    50: '#a66dc7',
    500: '#7b2bae',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bae;
$custom-light: #a66dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bae",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 276.641,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47311,
    "c": 0.19786,
    "h": 308.3
  },
  "luminance": 0.08995
}

Semantic roles & 50–950 ramp

primary
#7B2BAE
secondary
#91C570
accent
#E44482
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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