#7B4CE1#7B4CE1

#7B4CE1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.214 H 292.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7B4CE1
RGBrgb(123, 76, 225)
HSLhsl(259, 71%, 59%)
HSVhsv(259, 66%, 88%)
CMYKcmyk(45.3%, 66.2%, 0%, 11.8%)
CIE-LABlab(45.38, 52.94, -69.06)
CIE-LCHlch(45.38, 87.02, 307.48°)
OKLaboklab(55.22% 0.0817 -0.1976)
OKLCHoklch(55.22% 0.214 292.5)
XYZxyz(24.3397, 14.8153, 72.7968)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4CE1 #B2E14C
analogous
#4C68E1 #7B4CE1 #C64CE1
triadic
#7B4CE1 #E17B4C #4CE17B
tetradic
#7B4CE1 #E14C68 #B2E14C #4CE1C6
square
#7B4CE1 #E14C68 #B2E14C #4CE1C6
split-complementary
#7B4CE1 #E1C64C #68E14C
monochromatic
#421A99 #5822CD #7B4CE1 #A280EA #C8B5F3

Accessibility & contrast

On white

5.30
#7B4CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7B4CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4CE1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4CE1#FFFFFF#000000##FFFFFF
##7B4CE11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#5D7090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4ce1;
/* rgb */ color: rgb(123, 76, 225);
/* oklch */ color: oklch(55.2% 0.214 292.5);
Tailwind
colors: {
  custom: {
    50: '#a981eb',
    500: '#7b4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #7b4ce1;
$custom-light: #a981eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4ce1",
  "rgb": {
    "r": 123,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 258.926,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.21387,
    "h": 292.5
  },
  "luminance": 0.14816
}

Semantic roles & 50–950 ramp

primary
#7B4CE1
secondary
#CFE2A7
accent
#EE3AB5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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