#7B5AE8#7B5AE8

#7B5AE8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.8% C 0.205 H 289.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7B5AE8
RGBrgb(123, 90, 232)
HSLhsl(254, 76%, 63%)
HSVhsv(254, 61%, 91%)
CMYKcmyk(47%, 61.2%, 0%, 9%)
CIE-LABlab(48.70, 47.31, -67.63)
CIE-LCHlch(48.70, 82.53, 304.98°)
OKLaboklab(57.78% 0.0668 -0.1934)
OKLCHoklch(57.78% 0.205 289.1)
XYZxyz(26.3859, 17.3484, 78.2866)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5AE8 #C7E85A
analogous
#5A80E8 #7B5AE8 #C25AE8
triadic
#7B5AE8 #E87B5A #5AE87B
tetradic
#7B5AE8 #E85A80 #C7E85A #5AE8C2
square
#7B5AE8 #E85A80 #C7E85A #5AE8C2
split-complementary
#7B5AE8 #E8C25A #80E85A
monochromatic
#3B18AF #5024E1 #7B5AE8 #A690EF #D1C5F7

Accessibility & contrast

On white

4.70
#7B5AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7B5AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5AE8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5AE8#FFFFFF#000000##FFFFFF
##7B5AE81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#587B99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b5ae8;
/* rgb */ color: rgb(123, 90, 232);
/* oklch */ color: oklch(57.8% 0.205 289.1);
Tailwind
colors: {
  custom: {
    50: '#a98af0',
    500: '#7b5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #7b5ae8;
$custom-light: #a98af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5ae8",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 253.944,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.20466,
    "h": 289.1
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#7B5AE8
secondary
#DDE8B5
accent
#D80EA9
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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