#7B2BBF#7B2BBF

#7B2BBF is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.214 H 303.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7B2BBF
RGBrgb(123, 43, 191)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(35.6%, 77.5%, 0%, 25.1%)
CIE-LABlab(37.30, 59.68, -62.59)
CIE-LCHlch(37.30, 86.49, 313.64°)
OKLaboklab(48.66% 0.1189 -0.1785)
OKLCHoklch(48.66% 0.214 303.7)
XYZxyz(18.4340, 9.7003, 50.1813)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BBF #6FBF2B
analogous
#312BBF #7B2BBF #BF2BB9
triadic
#7B2BBF #BF7B2B #2BBF7B
tetradic
#7B2BBF #BF312B #6FBF2B #2BB9BF
square
#7B2BBF #BF312B #6FBF2B #2BB9BF
split-complementary
#7B2BBF #B9BF2B #2BBF31
monochromatic
#3B155B #5B208D #7B2BBF #9950D8 #B682E3

Accessibility & contrast

On white

7.14
#7B2BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7B2BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BBF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BBF#FFFFFF#000000##FFFFFF
##7B2BBF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#6D5274
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b2bbf;
/* rgb */ color: rgb(123, 43, 191);
/* oklch */ color: oklch(48.7% 0.214 303.7);
Tailwind
colors: {
  custom: {
    50: '#a76ed3',
    500: '#7b2bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bbf;
$custom-light: #a76ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bbf",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 272.432,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48656,
    "c": 0.21444,
    "h": 303.7
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#7B2BBF
secondary
#A0CC7A
accent
#E6428D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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