#7A5BCC#7A5BCC

#7A5BCC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.168 H 292.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7A5BCC
RGBrgb(122, 91, 204)
HSLhsl(256, 53%, 58%)
HSVhsv(256, 55%, 80%)
CMYKcmyk(40.2%, 55.4%, 0%, 20%)
CIE-LABlab(46.95, 38.73, -54.53)
CIE-LCHlch(46.95, 66.88, 305.38°)
OKLaboklab(55.88% 0.0651 -0.1549)
OKLCHoklch(55.88% 0.168 292.8)
XYZxyz(22.6633, 15.9788, 59.0052)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5BCC #ADCC5B
analogous
#5B74CC #7A5BCC #B25BCC
triadic
#7A5BCC #CC7A5B #5BCC7A
tetradic
#7A5BCC #CC5B74 #ADCC5B #5BCCB2
square
#7A5BCC #CC5B74 #ADCC5B #5BCCB2
split-complementary
#7A5BCC #CCB25B #74CC5B
monochromatic
#422984 #5937B2 #7A5BCC #A08ADB #C6B8E9

Accessibility & contrast

On white

5.01
#7A5BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7A5BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5BCC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5BCC#FFFFFF#000000##FFFFFF
##7A5BCC1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#64738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a5bcc;
/* rgb */ color: rgb(122, 91, 204);
/* oklch */ color: oklch(55.9% 0.168 292.8);
Tailwind
colors: {
  custom: {
    50: '#a58adc',
    500: '#7a5bcc',
    950: '#000000',
  },
}
SCSS
$custom: #7a5bcc;
$custom-light: #a58adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5bcc",
  "rgb": {
    "r": 122,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 256.46,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55876,
    "c": 0.16807,
    "h": 292.8
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#7A5BCC
secondary
#CCD8AB
accent
#DC4CB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7A5BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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