#7B5EE8#7B5EE8

#7B5EE8 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.199 H 288.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B5EE8
RGBrgb(123, 94, 232)
HSLhsl(253, 75%, 64%)
HSVhsv(253, 59%, 91%)
CMYKcmyk(47%, 59.5%, 0%, 9%)
CIE-LABlab(49.55, 45.07, -66.25)
CIE-LCHlch(49.55, 80.13, 304.23°)
OKLaboklab(58.4% 0.0626 -0.1894)
OKLCHoklch(58.4% 0.199 288.3)
XYZxyz(26.7324, 18.0414, 78.4021)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5EE8 #CBE85E
analogous
#5E86E8 #7B5EE8 #C05EE8
triadic
#7B5EE8 #E87B5E #5EE87B
tetradic
#7B5EE8 #E85E86 #CBE85E #5EE8C0
square
#7B5EE8 #E85E86 #CBE85E #5EE8C0
split-complementary
#7B5EE8 #E8C05E #86E85E
monochromatic
#3A19B2 #4F28E0 #7B5EE8 #A794F0 #D3C9F7

Accessibility & contrast

On white

4.56
#7B5EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7B5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B5EE8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5EE8#FFFFFF#000000##000000
##7B5EE81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#577E9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7b5ee8;
/* rgb */ color: rgb(123, 94, 232);
/* oklch */ color: oklch(58.4% 0.199 288.3);
Tailwind
colors: {
  custom: {
    50: '#a98df0',
    500: '#7b5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ee8;
$custom-light: #a98df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ee8",
  "rgb": {
    "r": 123,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 252.609,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.19947,
    "h": 288.3
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#7B5EE8
secondary
#DFE9B9
accent
#D70EAD
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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