#7B45D3#7B45D3

#7B45D3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.206 H 296.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7B45D3
RGBrgb(123, 69, 211)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(41.7%, 67.3%, 0%, 17.3%)
CIE-LABlab(43.02, 52.84, -64.90)
CIE-LCHlch(43.02, 83.69, 309.16°)
OKLaboklab(53.19% 0.0907 -0.1854)
OKLCHoklch(53.19% 0.206 296.1)
XYZxyz(22.0513, 13.1699, 62.9956)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45D3 #9DD345
analogous
#4556D3 #7B45D3 #C245D3
triadic
#7B45D3 #D37B45 #45D37B
tetradic
#7B45D3 #D34556 #9DD345 #45D3C2
square
#7B45D3 #D34556 #9DD345 #45D3C2
split-complementary
#7B45D3 #D3C245 #56D345
monochromatic
#431E7F #5D2AB1 #7B45D3 #9E76DF #C1A8EA

Accessibility & contrast

On white

5.78
#7B45D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7B45D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45D3
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45D3#FFFFFF#000000##FFFFFF
##7B45D31.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#646786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b45d3;
/* rgb */ color: rgb(123, 69, 211);
/* oklch */ color: oklch(53.2% 0.206 296.1);
Tailwind
colors: {
  custom: {
    50: '#a87ce1',
    500: '#7b45d3',
    950: '#000000',
  },
}
SCSS
$custom: #7b45d3;
$custom-light: #a87ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45d3",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 262.817,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53193,
    "c": 0.20637,
    "h": 296.1
  },
  "luminance": 0.1317
}

Semantic roles & 50–950 ramp

primary
#7B45D3
secondary
#C1D89C
accent
#E543A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B45D3

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

Preview Lab → · Contrast checker → · Palette generator →

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