#7B2EBC#7B2EBC

#7B2EBC is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.208 H 304.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7B2EBC
RGBrgb(123, 46, 188)
HSLhsl(273, 61%, 46%)
HSVhsv(273, 76%, 74%)
CMYKcmyk(34.6%, 75.5%, 0%, 26.3%)
CIE-LABlab(37.47, 57.81, -60.54)
CIE-LCHlch(37.47, 83.71, 313.68°)
OKLaboklab(48.7% 0.117 -0.1725)
OKLCHoklch(48.7% 0.208 304.2)
XYZxyz(18.2204, 9.7958, 48.4981)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2EBC #6FBC2E
analogous
#342EBC #7B2EBC #BC2EB6
triadic
#7B2EBC #BC7B2E #2EBC7B
tetradic
#7B2EBC #BC342E #6FBC2E #2EB6BC
square
#7B2EBC #BC342E #6FBC2E #2EB6BC
split-complementary
#7B2EBC #B6BC2E #2EBC34
monochromatic
#3B165A #5B228B #7B2EBC #9952D5 #B684E1

Accessibility & contrast

On white

7.10
#7B2EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7B2EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2EBC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2EBC#FFFFFF#000000##FFFFFF
##7B2EBC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#6E5273
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b2ebc;
/* rgb */ color: rgb(123, 46, 188);
/* oklch */ color: oklch(48.7% 0.208 304.2);
Tailwind
colors: {
  custom: {
    50: '#a76fd1',
    500: '#7b2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #7b2ebc;
$custom-light: #a76fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2ebc",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 272.535,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.20844,
    "h": 304.2
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#7B2EBC
secondary
#A0CA7C
accent
#E4448D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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