#7B2DC0#7B2DC0

#7B2DC0 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.213 H 303.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7B2DC0
RGBrgb(123, 45, 192)
HSLhsl(272, 62%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(35.9%, 76.6%, 0%, 24.7%)
CIE-LABlab(37.65, 59.13, -62.61)
CIE-LCHlch(37.65, 86.12, 313.37°)
OKLaboklab(48.93% 0.117 -0.1785)
OKLCHoklch(48.93% 0.213 303.2)
XYZxyz(18.6190, 9.8935, 50.7877)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2DC0 #72C02D
analogous
#322DC0 #7B2DC0 #C02DBC
triadic
#7B2DC0 #C07B2D #2DC07B
tetradic
#7B2DC0 #C0322D #72C02D #2DBCC0
square
#7B2DC0 #C0322D #72C02D #2DBCC0
split-complementary
#7B2DC0 #BCC02D #2DC032
monochromatic
#3B165D #5B218E #7B2DC0 #9953D7 #B785E2

Accessibility & contrast

On white

7.05
#7B2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7B2DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2DC0
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2DC0#FFFFFF#000000##FFFFFF
##7B2DC01.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2dc0;
/* rgb */ color: rgb(123, 45, 192);
/* oklch */ color: oklch(48.9% 0.213 303.2);
Tailwind
colors: {
  custom: {
    50: '#a76ed4',
    500: '#7b2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2dc0;
$custom-light: #a76ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2dc0",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 271.837,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.21344,
    "h": 303.2
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#7B2DC0
secondary
#A2CC7D
accent
#E5438F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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