#7B2BB1#7B2BB1

#7B2BB1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.201 H 307.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7B2BB1
RGBrgb(123, 43, 177)
HSLhsl(276, 61%, 43%)
HSVhsv(276, 76%, 69%)
CMYKcmyk(30.5%, 75.7%, 0%, 30.6%)
CIE-LABlab(36.20, 56.52, -56.11)
CIE-LCHlch(36.20, 79.64, 315.21°)
OKLaboklab(47.54% 0.1221 -0.1594)
OKLCHoklch(47.54% 0.201 307.4)
XYZxyz(16.9664, 9.1133, 42.4517)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BB1 #61B12B
analogous
#382BB1 #7B2BB1 #B12BA4
triadic
#7B2BB1 #B17B2B #2BB17B
tetradic
#7B2BB1 #B1382B #61B12B #2BA4B1
square
#7B2BB1 #B1382B #61B12B #2BA4B1
split-complementary
#7B2BB1 #A4B12B #2BB138
monochromatic
#37134F #591F80 #7B2BB1 #9A47D2 #B578DE

Accessibility & contrast

On white

7.44
#7B2BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7B2BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BB1
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BB1#FFFFFF#000000##FFFFFF
##7B2BB11.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#724C6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2bb1;
/* rgb */ color: rgb(123, 43, 177);
/* oklch */ color: oklch(47.5% 0.201 307.4);
Tailwind
colors: {
  custom: {
    50: '#a66dc9',
    500: '#7b2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bb1;
$custom-light: #a66dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bb1",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 275.821,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.20079,
    "h": 307.4
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#7B2BB1
secondary
#94C672
accent
#E44484
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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