#7B2AC0#7B2AC0

#7B2AC0 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.216 H 303.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7B2AC0
RGBrgb(123, 42, 192)
HSLhsl(272, 64%, 46%)
HSVhsv(272, 78%, 75%)
CMYKcmyk(35.9%, 78.1%, 0%, 24.7%)
CIE-LABlab(37.25, 60.29, -63.26)
CIE-LCHlch(37.25, 87.39, 313.62°)
OKLaboklab(48.65% 0.1195 -0.1804)
OKLCHoklch(48.65% 0.216 303.5)
XYZxyz(18.5085, 9.6727, 50.7509)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2AC0 #6FC02A
analogous
#302AC0 #7B2AC0 #C02ABA
triadic
#7B2AC0 #C07B2A #2AC07B
tetradic
#7B2AC0 #C0302A #6FC02A #2ABAC0
square
#7B2AC0 #C0302A #6FC02A #2ABAC0
split-complementary
#7B2AC0 #BAC02A #2AC030
monochromatic
#3B145C #5B1F8E #7B2AC0 #994FD8 #B681E3

Accessibility & contrast

On white

7.16
#7B2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7B2AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2AC0
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2AC0#FFFFFF#000000##FFFFFF
##7B2AC01.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2ac0;
/* rgb */ color: rgb(123, 42, 192);
/* oklch */ color: oklch(48.6% 0.216 303.5);
Tailwind
colors: {
  custom: {
    50: '#a86dd4',
    500: '#7b2ac0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ac0;
$custom-light: #a86dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ac0",
  "rgb": {
    "r": 123,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 272.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48645,
    "c": 0.21639,
    "h": 303.5
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B2AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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