#7B45D0#7B45D0

#7B45D0 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.203 H 296.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7B45D0
RGBrgb(123, 69, 208)
HSLhsl(263, 60%, 54%)
HSVhsv(263, 67%, 82%)
CMYKcmyk(40.9%, 66.8%, 0%, 18.4%)
CIE-LABlab(42.79, 52.07, -63.53)
CIE-LCHlch(42.79, 82.14, 309.34°)
OKLaboklab(52.96% 0.0911 -0.1814)
OKLCHoklch(52.96% 0.203 296.7)
XYZxyz(21.6787, 13.0208, 61.0334)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45D0 #9AD045
analogous
#4555D0 #7B45D0 #C045D0
triadic
#7B45D0 #D07B45 #45D07B
tetradic
#7B45D0 #D04555 #9AD045 #45D0C0
square
#7B45D0 #D04555 #9AD045 #45D0C0
split-complementary
#7B45D0 #D0C045 #55D045
monochromatic
#431F7B #5E2CAC #7B45D0 #9E76DC #C0A7E9

Accessibility & contrast

On white

5.83
#7B45D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B45D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45D0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45D0#FFFFFF#000000##FFFFFF
##7B45D01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#656685
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b45d0;
/* rgb */ color: rgb(123, 69, 208);
/* oklch */ color: oklch(53.0% 0.203 296.7);
Tailwind
colors: {
  custom: {
    50: '#a77cdf',
    500: '#7b45d0',
    950: '#000000',
  },
}
SCSS
$custom: #7b45d0;
$custom-light: #a77cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45d0",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 263.309,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.20298,
    "h": 296.7
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#7B45D0
secondary
#BFD69B
accent
#E345A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B45D0

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

Preview Lab → · Contrast checker → · Palette generator →

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