#7A5BED#7A5BED

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

Color values

HEX#7A5BED
RGBrgb(122, 91, 237)
HSLhsl(253, 80%, 64%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(48.5%, 61.6%, 0%, 7.1%)
CIE-LABlab(49.17, 47.97, -69.67)
CIE-LCHlch(49.17, 84.59, 304.55°)
OKLaboklab(58.21% 0.0642 -0.1995)
OKLCHoklch(58.21% 0.21 287.8)
XYZxyz(27.0487, 17.7330, 82.1019)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BED #CEED5B
analogous
#5B85ED #7A5BED #C35BED
triadic
#7A5BED #ED7A5B #5BED7A
tetradic
#7A5BED #ED5B85 #CEED5B #5BEDC3
square
#7A5BED #ED5B85 #CEED5B #5BEDC3
split-complementary
#7A5BED #EDC35B #85ED5B
monochromatic
#3714B9 #4D24E7 #7A5BED #A792F3 #D3C9F9

Accessibility & contrast

On white

4.62
#7A5BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7A5BED
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BED#FFFFFF#000000##FFFFFF
##7A5BED1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a5bed;
/* rgb */ color: rgb(122, 91, 237);
/* oklch */ color: oklch(58.2% 0.210 287.8);
Tailwind
colors: {
  custom: {
    50: '#a98bf4',
    500: '#7a5bed',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bed;
$custom-light: #a98bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bed",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 252.74,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.20956,
    "h": 287.8
  },
  "luminance": 0.17734
}

Semantic roles & 50–950 ramp

primary
#7A5BED
secondary
#E0EBB9
accent
#DD09B0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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