#7A5FBC#7A5FBC

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

Color values

HEX#7A5FBC
RGBrgb(122, 95, 188)
HSLhsl(257, 41%, 55%)
HSVhsv(257, 49%, 74%)
CMYKcmyk(35.1%, 49.5%, 0%, 26.3%)
CIE-LABlab(46.91, 32.02, -45.35)
CIE-LCHlch(46.91, 55.51, 305.23°)
OKLaboklab(55.54% 0.0591 -0.128)
OKLCHoklch(55.54% 0.141 294.8)
XYZxyz(21.1930, 15.9524, 49.5298)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5FBC #A1BC5F
analogous
#5F73BC #7A5FBC #A85FBC
triadic
#7A5FBC #BC7A5F #5FBC7A
tetradic
#7A5FBC #BC5F73 #A1BC5F #5FBCA8
square
#7A5FBC #BC5F73 #A1BC5F #5FBCA8
split-complementary
#7A5FBC #BCA85F #73BC5F
monochromatic
#432F71 #5C419C #7A5FBC #9E8ACE #C2B5E0

Accessibility & contrast

On white

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

On black

4.19
#7A5FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A5FBC#FFFFFF#000000##FFFFFF
##7A5FBC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#436EBA
Tritanopia (blue-blind)
#6B7185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a5fbc;
/* rgb */ color: rgb(122, 95, 188);
/* oklch */ color: oklch(55.5% 0.141 294.8);
Tailwind
colors: {
  custom: {
    50: '#a48dd1',
    500: '#7a5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #7a5fbc;
$custom-light: #a48dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5fbc",
  "rgb": {
    "r": 122,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 257.419,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.14098,
    "h": 294.8
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#7A5FBC
secondary
#C4CFA8
accent
#D157AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7A5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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