#7B4CE2#7B4CE2

#7B4CE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.215 H 292.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7B4CE2
RGBrgb(123, 76, 226)
HSLhsl(259, 72%, 59%)
HSVhsv(259, 66%, 89%)
CMYKcmyk(45.6%, 66.4%, 0%, 11.4%)
CIE-LABlab(45.46, 53.21, -69.50)
CIE-LCHlch(45.46, 87.53, 307.44°)
OKLaboklab(55.3% 0.0816 -0.1989)
OKLCHoklch(55.3% 0.215 292.3)
XYZxyz(24.4765, 14.8700, 73.5173)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CE2 #B3E24C
analogous
#4C68E2 #7B4CE2 #C64CE2
triadic
#7B4CE2 #E27B4C #4CE27B
tetradic
#7B4CE2 #E24C68 #B3E24C #4CE2C6
square
#7B4CE2 #E24C68 #B3E24C #4CE2C6
split-complementary
#7B4CE2 #E2C64C #68E24C
monochromatic
#42199B #5822CF #7B4CE2 #A281EB #C9B5F3

Accessibility & contrast

On white

5.28
#7B4CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7B4CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CE2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CE2#FFFFFF#000000##FFFFFF
##7B4CE21.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#5C7191
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b4ce2;
/* rgb */ color: rgb(123, 76, 226);
/* oklch */ color: oklch(55.3% 0.215 292.3);
Tailwind
colors: {
  custom: {
    50: '#a981ec',
    500: '#7b4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ce2;
$custom-light: #a981ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ce2",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 258.8,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55295,
    "c": 0.21502,
    "h": 292.3
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#7B4CE2
secondary
#D0E2A8
accent
#EF39B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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