#7B5AED#7B5AED

#7B5AED is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.211 H 288.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7B5AED
RGBrgb(123, 90, 237)
HSLhsl(253, 80%, 64%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(48.1%, 62%, 0%, 7.1%)
CIE-LABlab(49.05, 48.72, -69.86)
CIE-LCHlch(49.05, 85.17, 304.89°)
OKLaboklab(58.15% 0.0665 -0.2)
OKLCHoklch(58.15% 0.211 288.4)
XYZxyz(27.1062, 17.6365, 82.0803)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5AED #CCED5A
analogous
#5A83ED #7B5AED #C45AED
triadic
#7B5AED #ED7B5A #5AED7B
tetradic
#7B5AED #ED5A83 #CCED5A #5AEDC4
square
#7B5AED #ED5A83 #CCED5A #5AEDC4
split-complementary
#7B5AED #EDC45A #83ED5A
monochromatic
#3914B8 #4F23E7 #7B5AED #A791F3 #D3C8F9

Accessibility & contrast

On white

4.64
#7B5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7B5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5AED
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5AED#FFFFFF#000000##FFFFFF
##7B5AED1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#547D9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b5aed;
/* rgb */ color: rgb(123, 90, 237);
/* oklch */ color: oklch(58.1% 0.211 288.4);
Tailwind
colors: {
  custom: {
    50: '#a98af4',
    500: '#7b5aed',
    950: '#000000',
  },
}
SCSS
$custom: #7b5aed;
$custom-light: #a98af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5aed",
  "rgb": {
    "r": 123,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 253.469,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.21077,
    "h": 288.4
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#7B5AED
secondary
#E0EBB8
accent
#DD09AD
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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