#7B2AB0#7B2AB0

#7B2AB0 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.201 H 307.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7B2AB0
RGBrgb(123, 42, 176)
HSLhsl(276, 61%, 43%)
HSVhsv(276, 76%, 69%)
CMYKcmyk(30.1%, 76.1%, 0%, 31%)
CIE-LABlab(35.99, 56.69, -55.86)
CIE-LCHlch(35.99, 79.59, 315.43°)
OKLaboklab(47.37% 0.1232 -0.1587)
OKLCHoklch(47.37% 0.201 307.8)
XYZxyz(16.8312, 9.0017, 41.9167)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2AB0 #5FB02A
analogous
#382AB0 #7B2AB0 #B02AA2
triadic
#7B2AB0 #B07B2A #2AB07B
tetradic
#7B2AB0 #B0382A #5FB02A #2AA2B0
square
#7B2AB0 #B0382A #5FB02A #2AA2B0
split-complementary
#7B2AB0 #A2B02A #2AB038
monochromatic
#36124D #581E7F #7B2AB0 #9A45D3 #B576DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2AB0#FFFFFF#000000##FFFFFF
##7B2AB01.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)
#0052B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#724B6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2ab0;
/* rgb */ color: rgb(123, 42, 176);
/* oklch */ color: oklch(47.4% 0.201 307.8);
Tailwind
colors: {
  custom: {
    50: '#a66cc8',
    500: '#7b2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ab0;
$custom-light: #a66cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ab0",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 276.269,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47368,
    "c": 0.20089,
    "h": 307.8
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#7B2AB0
secondary
#92C670
accent
#E54383
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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