#7B45D6#7B45D6

#7B45D6 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.210 H 295.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7B45D6
RGBrgb(123, 69, 214)
HSLhsl(262, 64%, 55%)
HSVhsv(262, 68%, 84%)
CMYKcmyk(42.5%, 67.8%, 0%, 16.1%)
CIE-LABlab(43.24, 53.62, -66.25)
CIE-LCHlch(43.24, 85.23, 308.99°)
OKLaboklab(53.43% 0.0902 -0.1894)
OKLCHoklch(53.43% 0.21 295.5)
XYZxyz(22.4309, 13.3217, 64.9948)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45D6 #A0D645
analogous
#4557D6 #7B45D6 #C445D6
triadic
#7B45D6 #D67B45 #45D67B
tetradic
#7B45D6 #D64557 #A0D645 #45D6C4
square
#7B45D6 #D64557 #A0D645 #45D6C4
split-complementary
#7B45D6 #D6C445 #57D645
monochromatic
#431D84 #5D28B6 #7B45D6 #9F77E1 #C2A9EC

Accessibility & contrast

On white

5.73
#7B45D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7B45D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45D6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45D6#FFFFFF#000000##FFFFFF
##7B45D61.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#636888
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b45d6;
/* rgb */ color: rgb(123, 69, 214);
/* oklch */ color: oklch(53.4% 0.210 295.5);
Tailwind
colors: {
  custom: {
    50: '#a87ce4',
    500: '#7b45d6',
    950: '#000000',
  },
}
SCSS
$custom: #7b45d6;
$custom-light: #a87ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45d6",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 262.345,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53425,
    "c": 0.20978,
    "h": 295.5
  },
  "luminance": 0.13322
}

Semantic roles & 50–950 ramp

primary
#7B45D6
secondary
#C3DA9D
accent
#E741A9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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