#7B2BC0#7B2BC0

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

Color values

HEX#7B2BC0
RGBrgb(123, 43, 192)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 78%, 75%)
CMYKcmyk(35.9%, 77.6%, 0%, 24.7%)
CIE-LABlab(37.38, 59.91, -63.05)
CIE-LCHlch(37.38, 86.97, 313.54°)
OKLaboklab(48.74% 0.1186 -0.1798)
OKLCHoklch(48.74% 0.215 303.4)
XYZxyz(18.5444, 9.7445, 50.7629)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2BC0 #70C02B
analogous
#312BC0 #7B2BC0 #C02BBA
triadic
#7B2BC0 #C07B2B #2BC07B
tetradic
#7B2BC0 #C0312B #70C02B #2BBAC0
square
#7B2BC0 #C0312B #70C02B #2BBAC0
split-complementary
#7B2BC0 #BAC02B #2BC031
monochromatic
#3B155C #5B208E #7B2BC0 #9950D8 #B682E3

Accessibility & contrast

On white

7.12
#7B2BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7B2BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2BC0
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2BC0#FFFFFF#000000##FFFFFF
##7B2BC01.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#6D5275
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b2bc0;
/* rgb */ color: rgb(123, 43, 192);
/* oklch */ color: oklch(48.7% 0.215 303.4);
Tailwind
colors: {
  custom: {
    50: '#a76ed4',
    500: '#7b2bc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2bc0;
$custom-light: #a76ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2bc0",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 272.215,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.21542,
    "h": 303.4
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#7B2BC0
secondary
#A0CC7B
accent
#E6418E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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