#7B2BBE#7B2BBE

#7B2BBE is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.213 H 303.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7B2BBE
RGBrgb(123, 43, 190)
HSLhsl(273, 63%, 46%)
HSVhsv(273, 77%, 75%)
CMYKcmyk(35.3%, 77.4%, 0%, 25.5%)
CIE-LABlab(37.22, 59.46, -62.14)
CIE-LCHlch(37.22, 86.00, 313.74°)
OKLaboklab(48.57% 0.1191 -0.1771)
OKLCHoklch(48.57% 0.213 303.9)
XYZxyz(18.3244, 9.6565, 49.6037)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BBE #6EBE2B
analogous
#312BBE #7B2BBE #BE2BB7
triadic
#7B2BBE #BE7B2B #2BBE7B
tetradic
#7B2BBE #BE312B #6EBE2B #2BB7BE
square
#7B2BBE #BE312B #6EBE2B #2BB7BE
split-complementary
#7B2BBE #B7BE2B #2BBE31
monochromatic
#3A145A #5B208C #7B2BBE #994FD7 #B681E2

Accessibility & contrast

On white

7.16
#7B2BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7B2BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BBE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BBE#FFFFFF#000000##FFFFFF
##7B2BBE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#6E5174
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b2bbe;
/* rgb */ color: rgb(123, 43, 190);
/* oklch */ color: oklch(48.6% 0.213 303.9);
Tailwind
colors: {
  custom: {
    50: '#a76dd3',
    500: '#7b2bbe',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bbe;
$custom-light: #a76dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bbe",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 190
  },
  "hsl": {
    "h": 272.653,
    "s": 63.09,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.21347,
    "h": 303.9
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#7B2BBE
secondary
#9FCB7A
accent
#E6428D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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