#7B2CC0#7B2CC0

#7B2CC0 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.214 H 303.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7B2CC0
RGBrgb(123, 44, 192)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(35.9%, 77.1%, 0%, 24.7%)
CIE-LABlab(37.51, 59.53, -62.83)
CIE-LCHlch(37.51, 86.55, 313.45°)
OKLaboklab(48.83% 0.1178 -0.1792)
OKLCHoklch(48.83% 0.214 303.3)
XYZxyz(18.5813, 9.8181, 50.7751)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2CC0 #71C02C
analogous
#312CC0 #7B2CC0 #C02CBB
triadic
#7B2CC0 #C07B2C #2CC07B
tetradic
#7B2CC0 #C0312C #71C02C #2CBBC0
square
#7B2CC0 #C0312C #71C02C #2CBBC0
split-complementary
#7B2CC0 #BBC02C #2CC031
monochromatic
#3B155C #5B218E #7B2CC0 #9952D7 #B684E3

Accessibility & contrast

On white

7.09
#7B2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7B2CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2CC0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2CC0#FFFFFF#000000##FFFFFF
##7B2CC01.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2cc0;
/* rgb */ color: rgb(123, 44, 192);
/* oklch */ color: oklch(48.8% 0.214 303.3);
Tailwind
colors: {
  custom: {
    50: '#a76ed4',
    500: '#7b2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2cc0;
$custom-light: #a76ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2cc0",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 272.027,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48831,
    "c": 0.21443,
    "h": 303.3
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#7B2CC0
secondary
#A1CC7C
accent
#E6428E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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