#7B2EAF#7B2EAF

#7B2EAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.195 H 307.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7B2EAF
RGBrgb(123, 46, 175)
HSLhsl(276, 58%, 43%)
HSVhsv(276, 74%, 69%)
CMYKcmyk(29.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(36.48, 54.85, -54.46)
CIE-LCHlch(36.48, 77.29, 315.20°)
OKLaboklab(47.69% 0.1196 -0.1546)
OKLCHoklch(47.69% 0.195 307.7)
XYZxyz(16.8816, 9.2603, 41.4472)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2EAF #62AF2E
analogous
#3A2EAF #7B2EAF #AF2EA2
triadic
#7B2EAF #AF7B2E #2EAF7B
tetradic
#7B2EAF #AF3A2E #62AF2E #2EA2AF
square
#7B2EAF #AF3A2E #62AF2E #2EA2AF
split-complementary
#7B2EAF #A2AF2E #2EAF3A
monochromatic
#37154E #59217F #7B2EAF #9A4BD0 #B57BDC

Accessibility & contrast

On white

7.36
#7B2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7B2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2EAF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2EAF#FFFFFF#000000##FFFFFF
##7B2EAF1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#734C6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b2eaf;
/* rgb */ color: rgb(123, 46, 175);
/* oklch */ color: oklch(47.7% 0.195 307.7);
Tailwind
colors: {
  custom: {
    50: '#a66ec8',
    500: '#7b2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7b2eaf;
$custom-light: #a66ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2eaf",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 275.814,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.19549,
    "h": 307.7
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#7B2EAF
secondary
#95C574
accent
#E24685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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