#7B2BBA#7B2BBA

#7B2BBA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.210 H 305.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7B2BBA
RGBrgb(123, 43, 186)
HSLhsl(274, 62%, 45%)
HSVhsv(274, 77%, 73%)
CMYKcmyk(33.9%, 76.9%, 0%, 27.1%)
CIE-LABlab(36.90, 58.55, -60.30)
CIE-LCHlch(36.90, 84.05, 314.15°)
OKLaboklab(48.25% 0.1201 -0.1717)
OKLCHoklch(48.25% 0.21 305)
XYZxyz(17.8932, 9.4840, 47.3328)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BBA #6ABA2B
analogous
#332BBA #7B2BBA #BA2BB2
triadic
#7B2BBA #BA7B2B #2BBA7B
tetradic
#7B2BBA #BA332B #6ABA2B #2BB2BA
square
#7B2BBA #BA332B #6ABA2B #2BB2BA
split-complementary
#7B2BBA #B2BA2B #2BBA33
monochromatic
#391457 #5A2088 #7B2BBA #994CD6 #B67EE1

Accessibility & contrast

On white

7.25
#7B2BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7B2BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BBA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BBA#FFFFFF#000000##FFFFFF
##7B2BBA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#6F5072
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b2bba;
/* rgb */ color: rgb(123, 43, 186);
/* oklch */ color: oklch(48.3% 0.210 305.0);
Tailwind
colors: {
  custom: {
    50: '#a76dd0',
    500: '#7b2bba',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bba;
$custom-light: #a76dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bba",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 273.566,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.20957,
    "h": 305
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#7B2BBA
secondary
#9BCA77
accent
#E6428A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B2BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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