#7B2CB6#7B2CB6

#7B2CB6 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.205 H 306.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7B2CB6
RGBrgb(123, 44, 182)
HSLhsl(274, 61%, 44%)
HSVhsv(274, 76%, 71%)
CMYKcmyk(32.4%, 75.8%, 0%, 28.6%)
CIE-LABlab(36.72, 57.25, -58.22)
CIE-LCHlch(36.72, 81.65, 314.52°)
OKLaboklab(48.03% 0.1201 -0.1656)
OKLCHoklch(48.03% 0.205 306)
XYZxyz(17.5107, 9.3899, 45.1368)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2CB6 #67B62C
analogous
#362CB6 #7B2CB6 #B62CAC
triadic
#7B2CB6 #B67B2C #2CB67B
tetradic
#7B2CB6 #B6362C #67B62C #2CACB6
square
#7B2CB6 #B6362C #67B62C #2CACB6
split-complementary
#7B2CB6 #ACB62C #2CB636
monochromatic
#381453 #5A2085 #7B2CB6 #994CD4 #B57DE0

Accessibility & contrast

On white

7.30
#7B2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7B2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2CB6
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2CB6#FFFFFF#000000##FFFFFF
##7B2CB61.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#704E70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2cb6;
/* rgb */ color: rgb(123, 44, 182);
/* oklch */ color: oklch(48.0% 0.205 306.0);
Tailwind
colors: {
  custom: {
    50: '#a76ecd',
    500: '#7b2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #7b2cb6;
$custom-light: #a76ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2cb6",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 274.348,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.20462,
    "h": 306
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#7B2CB6
secondary
#99C876
accent
#E44488
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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