#7B5AEE#7B5AEE

#7B5AEE is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.212 H 288.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B5AEE
RGBrgb(123, 90, 238)
HSLhsl(253, 81%, 64%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(48.3%, 62.2%, 0%, 6.7%)
CIE-LABlab(49.12, 49.00, -70.31)
CIE-LCHlch(49.12, 85.70, 304.87°)
OKLaboklab(58.22% 0.0664 -0.2013)
OKLCHoklch(58.22% 0.212 288.3)
XYZxyz(27.2527, 17.6951, 82.8519)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5AEE #CDEE5A
analogous
#5A83EE #7B5AEE #C55AEE
triadic
#7B5AEE #EE7B5A #5AEE7B
tetradic
#7B5AEE #EE5A83 #CDEE5A #5AEEC5
square
#7B5AEE #EE5A83 #CDEE5A #5AEEC5
split-complementary
#7B5AEE #EEC55A #83EE5A
monochromatic
#3813BA #4F23E8 #7B5AEE #A791F4 #D4C9F9

Accessibility & contrast

On white

4.63
#7B5AEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7B5AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5AEE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5AEE#FFFFFF#000000##FFFFFF
##7B5AEE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#547D9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b5aee;
/* rgb */ color: rgb(123, 90, 238);
/* oklch */ color: oklch(58.2% 0.212 288.3);
Tailwind
colors: {
  custom: {
    50: '#aa8af4',
    500: '#7b5aee',
    950: '#000000',
  },
}
SCSS
$custom: #7b5aee;
$custom-light: #aa8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5aee",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 253.378,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58224,
    "c": 0.21198,
    "h": 288.3
  },
  "luminance": 0.17696
}

Semantic roles & 50–950 ramp

primary
#7B5AEE
secondary
#E0ECB8
accent
#DE08AE
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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