#7B2BB8#7B2BB8

#7B2BB8 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.208 H 305.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7B2BB8
RGBrgb(123, 43, 184)
HSLhsl(274, 62%, 45%)
HSVhsv(274, 77%, 72%)
CMYKcmyk(33.2%, 76.6%, 0%, 27.8%)
CIE-LABlab(36.74, 58.09, -59.38)
CIE-LCHlch(36.74, 83.07, 314.37°)
OKLaboklab(48.09% 0.1206 -0.169)
OKLCHoklch(48.09% 0.208 305.5)
XYZxyz(17.6820, 9.3995, 46.2209)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BB8 #68B82B
analogous
#352BB8 #7B2BB8 #B82BAF
triadic
#7B2BB8 #B87B2B #2BB87B
tetradic
#7B2BB8 #B8352B #68B82B #2BAFB8
square
#7B2BB8 #B8352B #68B82B #2BAFB8
split-complementary
#7B2BB8 #AFB82B #2BB835
monochromatic
#391455 #5A1F86 #7B2BB8 #994BD5 #B57DE1

Accessibility & contrast

On white

7.29
#7B2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7B2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BB8
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BB8#FFFFFF#000000##FFFFFF
##7B2BB81.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#704F70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2bb8;
/* rgb */ color: rgb(123, 43, 184);
/* oklch */ color: oklch(48.1% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#a76dce',
    500: '#7b2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bb8;
$custom-light: #a76dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bb8",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 274.043,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.20762,
    "h": 305.5
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#7B2BB8
secondary
#9AC976
accent
#E54389
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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