#7B2EBE#7B2EBE

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

Color values

HEX#7B2EBE
RGBrgb(123, 46, 190)
HSLhsl(272, 61%, 46%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(35.3%, 75.8%, 0%, 25.5%)
CIE-LABlab(37.63, 58.27, -61.46)
CIE-LCHlch(37.63, 84.69, 313.47°)
OKLaboklab(48.86% 0.1166 -0.1752)
OKLCHoklch(48.86% 0.21 303.6)
XYZxyz(18.4375, 9.8827, 49.6414)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2EBE #71BE2E
analogous
#332EBE #7B2EBE #BE2EB9
triadic
#7B2EBE #BE7B2E #2EBE7B
tetradic
#7B2EBE #BE332E #71BE2E #2EB9BE
square
#7B2EBE #BE332E #71BE2E #2EB9BE
split-complementary
#7B2EBE #B9BE2E #2EBE33
monochromatic
#3B165B #5B228D #7B2EBE #9954D6 #B685E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2EBE#FFFFFF#000000##FFFFFF
##7B2EBE1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#6E5375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b2ebe;
/* rgb */ color: rgb(123, 46, 190);
/* oklch */ color: oklch(48.9% 0.210 303.6);
Tailwind
colors: {
  custom: {
    50: '#a76fd3',
    500: '#7b2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ebe;
$custom-light: #a76fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ebe",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 272.083,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.21043,
    "h": 303.6
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#7B2EBE
secondary
#A1CB7D
accent
#E4448E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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