#7B5AEF#7B5AEF

#7B5AEF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.213 H 288.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7B5AEF
RGBrgb(123, 90, 239)
HSLhsl(253, 82%, 65%)
HSVhsv(253, 62%, 94%)
CMYKcmyk(48.5%, 62.3%, 0%, 6.3%)
CIE-LABlab(49.20, 49.28, -70.75)
CIE-LCHlch(49.20, 86.22, 304.86°)
OKLaboklab(58.3% 0.0663 -0.2026)
OKLCHoklch(58.3% 0.213 288.1)
XYZxyz(27.4000, 17.7541, 83.6278)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5AEF #CEEF5A
analogous
#5A83EF #7B5AEF #C65AEF
triadic
#7B5AEF #EF7B5A #5AEF7B
tetradic
#7B5AEF #EF5A83 #CEEF5A #5AEFC6
square
#7B5AEF #EF5A83 #CEEF5A #5AEFC6
split-complementary
#7B5AEF #EFC65A #83EF5A
monochromatic
#3812BC #4E22EA #7B5AEF #A892F4 #D4CAFA

Accessibility & contrast

On white

4.61
#7B5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7B5AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5AEF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5AEF#FFFFFF#000000##FFFFFF
##7B5AEF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#537E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b5aef;
/* rgb */ color: rgb(123, 90, 239);
/* oklch */ color: oklch(58.3% 0.213 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa8af5',
    500: '#7b5aef',
    950: '#000000',
  },
}
SCSS
$custom: #7b5aef;
$custom-light: #aa8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5aef",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 253.289,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.583,
    "c": 0.2132,
    "h": 288.1
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#7B5AEF
secondary
#E1ECB9
accent
#DF07AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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