#7B2CB0#7B2CB0

#7B2CB0 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.6% C 0.199 H 307.6°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7B2CB0
RGBrgb(123, 44, 176)
HSLhsl(276, 60%, 43%)
HSVhsv(276, 75%, 69%)
CMYKcmyk(30.1%, 75%, 0%, 31%)
CIE-LABlab(36.27, 55.90, -55.41)
CIE-LCHlch(36.27, 78.70, 315.25°)
OKLaboklab(47.56% 0.1214 -0.1574)
OKLCHoklch(47.56% 0.199 307.6)
XYZxyz(16.9039, 9.1471, 41.9410)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2CB0 #61B02C
analogous
#392CB0 #7B2CB0 #B02CA3
triadic
#7B2CB0 #B07B2C #2CB07B
tetradic
#7B2CB0 #B0392C #61B02C #2CA3B0
square
#7B2CB0 #B0392C #61B02C #2CA3B0
split-complementary
#7B2CB0 #A3B02C #2CB039
monochromatic
#37144E #59207F #7B2CB0 #9A48D1 #B579DD

Accessibility & contrast

On white

7.42
#7B2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7B2CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2CB0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2CB0#FFFFFF#000000##FFFFFF
##7B2CB01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#724C6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b2cb0;
/* rgb */ color: rgb(123, 44, 176);
/* oklch */ color: oklch(47.6% 0.199 307.6);
Tailwind
colors: {
  custom: {
    50: '#a66dc8',
    500: '#7b2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2cb0;
$custom-light: #a66dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2cb0",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 275.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47564,
    "c": 0.19872,
    "h": 307.6
  },
  "luminance": 0.09147
}

Semantic roles & 50–950 ramp

primary
#7B2CB0
secondary
#94C672
accent
#E34584
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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