#7A5EEB#7A5EEB

#7A5EEB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.5% C 0.203 H 287.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7A5EEB
RGBrgb(122, 94, 235)
HSLhsl(252, 78%, 65%)
HSVhsv(252, 60%, 92%)
CMYKcmyk(48.1%, 60%, 0%, 7.8%)
CIE-LABlab(49.67, 45.72, -67.75)
CIE-LCHlch(49.67, 81.73, 304.02°)
OKLaboklab(58.53% 0.0612 -0.1938)
OKLCHoklch(58.53% 0.203 287.5)
XYZxyz(27.0198, 18.1399, 80.6588)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5EEB #CFEB5E
analogous
#5E89EB #7A5EEB #C15EEB
triadic
#7A5EEB #EB7A5E #5EEB7A
tetradic
#7A5EEB #EB5E89 #CFEB5E #5EEBC1
square
#7A5EEB #EB5E89 #CFEB5E #5EEBC1
split-complementary
#7A5EEB #EBC15E #89EB5E
monochromatic
#3717B8 #4D28E4 #7A5EEB #A794F2 #D4CBF9

Accessibility & contrast

On white

4.54
#7A5EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7A5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A5EEB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5EEB#FFFFFF#000000##000000
##7A5EEB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#537F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a5eeb;
/* rgb */ color: rgb(122, 94, 235);
/* oklch */ color: oklch(58.5% 0.203 287.5);
Tailwind
colors: {
  custom: {
    50: '#a88df2',
    500: '#7a5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #7a5eeb;
$custom-light: #a88df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5eeb",
  "rgb": {
    "r": 122,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 251.915,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5853,
    "c": 0.20326,
    "h": 287.5
  },
  "luminance": 0.18141
}

Semantic roles & 50–950 ramp

primary
#7A5EEB
secondary
#E1EBBA
accent
#DA0BB1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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