#7B45EA#7B45EA

#7B45EA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.232 H 291.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7B45EA
RGBrgb(123, 69, 234)
HSLhsl(260, 80%, 59%)
HSVhsv(260, 71%, 92%)
CMYKcmyk(47.4%, 70.5%, 0%, 8.2%)
CIE-LABlab(44.81, 58.86, -75.08)
CIE-LCHlch(44.81, 95.40, 308.09°)
OKLaboklab(55.03% 0.0867 -0.2153)
OKLCHoklch(55.03% 0.232 291.9)
XYZxyz(25.1436, 14.4068, 79.2819)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45EA #B4EA45
analogous
#4562EA #7B45EA #CD45EA
triadic
#7B45EA #EA7B45 #45EA7B
tetradic
#7B45EA #EA4562 #B4EA45 #45EACD
square
#7B45EA #EA4562 #B4EA45 #45EACD
split-complementary
#7B45EA #EACD45 #62EA45
monochromatic
#4112A2 #5819D9 #7B45EA #A27CF0 #C9B3F6

Accessibility & contrast

On white

5.41
#7B45EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7B45EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45EA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45EA#FFFFFF#000000##FFFFFF
##7B45EA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#587093
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7b45ea;
/* rgb */ color: rgb(123, 69, 234);
/* oklch */ color: oklch(55.0% 0.232 291.9);
Tailwind
colors: {
  custom: {
    50: '#aa7df2',
    500: '#7b45ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b45ea;
$custom-light: #aa7df2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45ea",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 234
  },
  "hsl": {
    "h": 259.636,
    "s": 79.71,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55029,
    "c": 0.23213,
    "h": 291.9
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

primary
#7B45EA
secondary
#D1E6A5
accent
#F632B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B45EA

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

Preview Lab → · Contrast checker → · Palette generator →

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