#7B4BE3#7B4BE3

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

Color values

HEX#7B4BE3
RGBrgb(123, 75, 227)
HSLhsl(259, 73%, 59%)
HSVhsv(259, 67%, 89%)
CMYKcmyk(45.8%, 67%, 0%, 11%)
CIE-LABlab(45.34, 54.00, -70.25)
CIE-LCHlch(45.34, 88.61, 307.55°)
OKLaboklab(55.24% 0.0824 -0.2011)
OKLCHoklch(55.24% 0.217 292.3)
XYZxyz(24.5457, 14.7883, 74.2193)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4BE3 #B3E34B
analogous
#4B67E3 #7B4BE3 #C74BE3
triadic
#7B4BE3 #E37B4B #4BE37B
tetradic
#7B4BE3 #E34B67 #B3E34B #4BE3C7
square
#7B4BE3 #E34B67 #B3E34B #4BE3C7
split-complementary
#7B4BE3 #E3C74B #67E34B
monochromatic
#42189B #5820D0 #7B4BE3 #A280EB #C9B5F3

Accessibility & contrast

On white

5.31
#7B4BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B4BE3
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4BE3#FFFFFF#000000##FFFFFF
##7B4BE31.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#5C7091
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b4be3;
/* rgb */ color: rgb(123, 75, 227);
/* oklch */ color: oklch(55.2% 0.217 292.3);
Tailwind
colors: {
  custom: {
    50: '#a980ed',
    500: '#7b4be3',
    950: '#000000',
  },
}
SCSS
$custom: #7b4be3;
$custom-light: #a980ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4be3",
  "rgb": {
    "r": 123,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 258.947,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55238,
    "c": 0.21738,
    "h": 292.3
  },
  "luminance": 0.14789
}

Semantic roles & 50–950 ramp

primary
#7B4BE3
secondary
#D0E3A7
accent
#F038B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B4BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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