#7B45E8#7B45E8

#7B45E8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.230 H 292.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7B45E8
RGBrgb(123, 69, 232)
HSLhsl(260, 78%, 59%)
HSVhsv(260, 70%, 91%)
CMYKcmyk(47%, 70.3%, 0%, 9%)
CIE-LABlab(44.65, 58.33, -74.22)
CIE-LCHlch(44.65, 94.39, 308.17°)
OKLaboklab(54.86% 0.0871 -0.2128)
OKLCHoklch(54.86% 0.23 292.3)
XYZxyz(24.8579, 14.2925, 77.7773)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45E8 #B2E845
analogous
#4561E8 #7B45E8 #CC45E8
triadic
#7B45E8 #E87B45 #45E87B
tetradic
#7B45E8 #E84561 #B2E845 #45E8CC
square
#7B45E8 #E84561 #B2E845 #45E8CC
split-complementary
#7B45E8 #E8CC45 #61E845
monochromatic
#42149F #581AD5 #7B45E8 #A27BEF #C8B2F5

Accessibility & contrast

On white

5.44
#7B45E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7B45E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45E8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45E8#FFFFFF#000000##FFFFFF
##7B45E81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#596F92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b45e8;
/* rgb */ color: rgb(123, 69, 232);
/* oklch */ color: oklch(54.9% 0.230 292.3);
Tailwind
colors: {
  custom: {
    50: '#aa7df0',
    500: '#7b45e8',
    950: '#000000',
  },
}
SCSS
$custom: #7b45e8;
$custom-light: #aa7df0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45e8",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 259.877,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54865,
    "c": 0.22992,
    "h": 292.3
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#7B45E8
secondary
#CFE4A4
accent
#F433B4
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B45E8

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

Preview Lab → · Contrast checker → · Palette generator →

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