#7B2EC0#7B2EC0

#7B2EC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.0% C 0.212 H 303.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7B2EC0
RGBrgb(123, 46, 192)
HSLhsl(272, 61%, 47%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(35.9%, 76%, 0%, 24.7%)
CIE-LABlab(37.79, 58.73, -62.38)
CIE-LCHlch(37.79, 85.68, 313.28°)
OKLaboklab(49.03% 0.1161 -0.1779)
OKLCHoklch(49.03% 0.212 303.1)
XYZxyz(18.6576, 9.9707, 50.8006)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2EC0 #73C02E
analogous
#322EC0 #7B2EC0 #C02EBC
triadic
#7B2EC0 #C07B2E #2EC07B
tetradic
#7B2EC0 #C0322E #73C02E #2EBCC0
square
#7B2EC0 #C0322E #73C02E #2EBCC0
split-complementary
#7B2EC0 #BCC02E #2EC032
monochromatic
#3C165D #5B228F #7B2EC0 #9955D6 #B786E2

Accessibility & contrast

On white

7.01
#7B2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7B2EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2EC0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2EC0#FFFFFF#000000##FFFFFF
##7B2EC01.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b2ec0;
/* rgb */ color: rgb(123, 46, 192);
/* oklch */ color: oklch(49.0% 0.212 303.1);
Tailwind
colors: {
  custom: {
    50: '#a76fd4',
    500: '#7b2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ec0;
$custom-light: #a76fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ec0",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 271.644,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49025,
    "c": 0.21242,
    "h": 303.1
  },
  "luminance": 0.09971
}

Semantic roles & 50–950 ramp

primary
#7B2EC0
secondary
#A3CC7E
accent
#E4438F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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