#7B45BE#7B45BE

#7B45BE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.182 H 300.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7B45BE
RGBrgb(123, 69, 190)
HSLhsl(267, 48%, 51%)
HSVhsv(267, 64%, 75%)
CMYKcmyk(35.3%, 63.7%, 0%, 25.5%)
CIE-LABlab(41.51, 47.46, -55.17)
CIE-LCHlch(41.51, 72.78, 310.70°)
OKLaboklab(51.63% 0.093 -0.1568)
OKLCHoklch(51.63% 0.182 300.7)
XYZxyz(19.5885, 12.1848, 50.0251)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45BE #88BE45
analogous
#454BBE #7B45BE #B745BE
triadic
#7B45BE #BE7B45 #45BE7B
tetradic
#7B45BE #BE454B #88BE45 #45BEB7
square
#7B45BE #BE454B #88BE45 #45BEB7
split-complementary
#7B45BE #BEB745 #4BBE45
monochromatic
#412365 #5E3393 #7B45BE #9B72CE #BBA0DE

Accessibility & contrast

On white

6.11
#7B45BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7B45BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45BE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45BE#FFFFFF#000000##FFFFFF
##7B45BE1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b45be;
/* rgb */ color: rgb(123, 69, 190);
/* oklch */ color: oklch(51.6% 0.182 300.7);
Tailwind
colors: {
  custom: {
    50: '#a67cd2',
    500: '#7b45be',
    950: '#000000',
  },
}
SCSS
$custom: #7b45be;
$custom-light: #a67cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45be",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 266.777,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.18231,
    "h": 300.7
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#7B45BE
secondary
#B2CA95
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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