#7B2BB9#7B2BB9

#7B2BB9 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.209 H 305.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7B2BB9
RGBrgb(123, 43, 185)
HSLhsl(274, 62%, 45%)
HSVhsv(274, 77%, 73%)
CMYKcmyk(33.5%, 76.8%, 0%, 27.5%)
CIE-LABlab(36.82, 58.32, -59.84)
CIE-LCHlch(36.82, 83.56, 314.26°)
OKLaboklab(48.17% 0.1203 -0.1704)
OKLCHoklch(48.17% 0.209 305.2)
XYZxyz(17.7872, 9.4416, 46.7749)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BB9 #69B92B
analogous
#342BB9 #7B2BB9 #B92BB0
triadic
#7B2BB9 #B97B2B #2BB97B
tetradic
#7B2BB9 #B9342B #69B92B #2BB0B9
square
#7B2BB9 #B9342B #69B92B #2BB0B9
split-complementary
#7B2BB9 #B0B92B #2BB934
monochromatic
#391456 #5A1F87 #7B2BB9 #994CD5 #B67EE1

Accessibility & contrast

On white

7.27
#7B2BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7B2BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BB9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BB9#FFFFFF#000000##FFFFFF
##7B2BB91.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#6F4F71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b2bb9;
/* rgb */ color: rgb(123, 43, 185);
/* oklch */ color: oklch(48.2% 0.209 305.2);
Tailwind
colors: {
  custom: {
    50: '#a76dcf',
    500: '#7b2bb9',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bb9;
$custom-light: #a76dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bb9",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 273.803,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.20859,
    "h": 305.2
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#7B2BB9
secondary
#9BC976
accent
#E5428A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B2BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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