#7B45D4#7B45D4

#7B45D4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.208 H 295.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7B45D4
RGBrgb(123, 69, 212)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(42%, 67.5%, 0%, 16.9%)
CIE-LABlab(43.09, 53.10, -65.35)
CIE-LCHlch(43.09, 84.21, 309.10°)
OKLaboklab(53.27% 0.0905 -0.1867)
OKLCHoklch(53.27% 0.208 295.9)
XYZxyz(22.1770, 13.2202, 63.6579)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45D4 #9ED445
analogous
#4557D4 #7B45D4 #C245D4
triadic
#7B45D4 #D47B45 #45D47B
tetradic
#7B45D4 #D44557 #9ED445 #45D4C2
square
#7B45D4 #D44557 #9ED445 #45D4C2
split-complementary
#7B45D4 #D4C245 #57D445
monochromatic
#431E81 #5D29B3 #7B45D4 #9E77DF #C2A8EB

Accessibility & contrast

On white

5.76
#7B45D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7B45D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45D4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45D4#FFFFFF#000000##FFFFFF
##7B45D41.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#646887
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b45d4;
/* rgb */ color: rgb(123, 69, 212);
/* oklch */ color: oklch(53.3% 0.208 295.9);
Tailwind
colors: {
  custom: {
    50: '#a87ce2',
    500: '#7b45d4',
    950: '#000000',
  },
}
SCSS
$custom: #7b45d4;
$custom-light: #a87ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45d4",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 262.657,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5327,
    "c": 0.20751,
    "h": 295.9
  },
  "luminance": 0.13221
}

Semantic roles & 50–950 ramp

primary
#7B45D4
secondary
#C2D89C
accent
#E642A8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7B45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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