#7B2CC1#7B2CC1

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

Color values

HEX#7B2CC1
RGBrgb(123, 44, 193)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 76%)
CMYKcmyk(36.3%, 77.2%, 0%, 24.3%)
CIE-LABlab(37.59, 59.76, -63.28)
CIE-LCHlch(37.59, 87.04, 313.36°)
OKLaboklab(48.91% 0.1176 -0.1805)
OKLCHoklch(48.91% 0.215 303.1)
XYZxyz(18.6924, 9.8626, 51.3606)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2CC1 #72C12C
analogous
#312CC1 #7B2CC1 #C12CBD
triadic
#7B2CC1 #C17B2C #2CC17B
tetradic
#7B2CC1 #C1312C #72C12C #2CBDC1
square
#7B2CC1 #C1312C #72C12C #2CBDC1
split-complementary
#7B2CC1 #BDC12C #2CC131
monochromatic
#3B155D #5B218F #7B2CC1 #9953D8 #B784E3

Accessibility & contrast

On white

7.06
#7B2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B2CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2CC1
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2CC1#FFFFFF#000000##FFFFFF
##7B2CC11.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#6C5376
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b2cc1;
/* rgb */ color: rgb(123, 44, 193);
/* oklch */ color: oklch(48.9% 0.215 303.1);
Tailwind
colors: {
  custom: {
    50: '#a76ed5',
    500: '#7b2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #7b2cc1;
$custom-light: #a76ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2cc1",
  "rgb": {
    "r": 123,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 271.812,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.21542,
    "h": 303.1
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#7B2CC1
secondary
#A2CC7D
accent
#E6428F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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