#7A45BE#7A45BE

#7A45BE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.182 H 300.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7A45BE
RGBrgb(122, 69, 190)
HSLhsl(266, 48%, 51%)
HSVhsv(266, 64%, 75%)
CMYKcmyk(35.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(41.39, 47.24, -55.37)
CIE-LCHlch(41.39, 72.78, 310.47°)
OKLaboklab(51.52% 0.0917 -0.1574)
OKLCHoklch(51.52% 0.182 300.2)
XYZxyz(19.4462, 12.1114, 50.0184)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A45BE #89BE45
analogous
#454CBE #7A45BE #B645BE
triadic
#7A45BE #BE7A45 #45BE7A
tetradic
#7A45BE #BE454C #89BE45 #45BEB6
square
#7A45BE #BE454C #89BE45 #45BEB6
split-complementary
#7A45BE #BEB645 #4CBE45
monochromatic
#402365 #5D3393 #7A45BE #9A72CE #BBA0DE

Accessibility & contrast

On white

6.14
#7A45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7A45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A45BE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A45BE#FFFFFF#000000##FFFFFF
##7A45BE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#1061BB
Tritanopia (blue-blind)
#6B607B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a45be;
/* rgb */ color: rgb(122, 69, 190);
/* oklch */ color: oklch(51.5% 0.182 300.2);
Tailwind
colors: {
  custom: {
    50: '#a57cd2',
    500: '#7a45be',
    950: '#000000',
  },
}
SCSS
$custom: #7a45be;
$custom-light: #a57cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a45be",
  "rgb": {
    "r": 122,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 266.281,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.18214,
    "h": 300.2
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#7A45BE
secondary
#B3CA95
accent
#D8509C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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