#7B45AE#7B45AE

#7B45AE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.164 H 304.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7B45AE
RGBrgb(123, 69, 174)
HSLhsl(271, 43%, 48%)
HSVhsv(271, 60%, 68%)
CMYKcmyk(29.3%, 60.3%, 0%, 31.8%)
CIE-LABlab(40.45, 43.47, -47.47)
CIE-LCHlch(40.45, 64.37, 312.48°)
OKLaboklab(50.52% 0.0938 -0.1342)
OKLCHoklch(50.52% 0.164 304.9)
XYZxyz(17.9348, 11.5233, 41.3156)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45AE #78AE45
analogous
#4645AE #7B45AE #AE45AD
triadic
#7B45AE #AE7B45 #45AE7B
tetradic
#7B45AE #AE4645 #78AE45 #45ADAE
square
#7B45AE #AE4645 #78AE45 #45ADAE
split-complementary
#7B45AE #ADAE45 #45AE46
monochromatic
#3D2256 #5C3482 #7B45AE #996CC5 #B897D6

Accessibility & contrast

On white

6.35
#7B45AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7B45AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45AE
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45AE#FFFFFF#000000##FFFFFF
##7B45AE1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125EB1
Deuteranopia (green-blind)
#2E5FAC
Tritanopia (blue-blind)
#725A73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b45ae;
/* rgb */ color: rgb(123, 69, 174);
/* oklch */ color: oklch(50.5% 0.164 304.9);
Tailwind
colors: {
  custom: {
    50: '#a57bc7',
    500: '#7b45ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b45ae;
$custom-light: #a57bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45ae",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 270.857,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.16368,
    "h": 304.9
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#7B45AE
secondary
#A7C28D
accent
#D35592
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7B45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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