#7D45BB#7D45BB

#7D45BB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.179 H 302.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7D45BB
RGBrgb(125, 69, 187)
HSLhsl(268, 46%, 50%)
HSVhsv(268, 63%, 73%)
CMYKcmyk(33.2%, 63.1%, 0%, 26.7%)
CIE-LABlab(41.54, 47.15, -53.36)
CIE-LCHlch(41.54, 71.21, 311.47°)
OKLaboklab(51.64% 0.0959 -0.1514)
OKLCHoklch(51.64% 0.179 302.4)
XYZxyz(19.5531, 12.2040, 48.3296)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D45BB #83BB45
analogous
#4548BB #7D45BB #B845BB
triadic
#7D45BB #BB7D45 #45BB7D
tetradic
#7D45BB #BB4548 #83BB45 #45BBB8
square
#7D45BB #BB4548 #83BB45 #45BBB8
split-complementary
#7D45BB #BBB845 #48BB45
monochromatic
#412462 #5F348F #7D45BB #9C72CB #BC9FDC

Accessibility & contrast

On white

6.10
#7D45BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7D45BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D45BB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D45BB#FFFFFF#000000##FFFFFF
##7D45BB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1E62B8
Tritanopia (blue-blind)
#715E7A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d45bb;
/* rgb */ color: rgb(125, 69, 187);
/* oklch */ color: oklch(51.6% 0.179 302.4);
Tailwind
colors: {
  custom: {
    50: '#a77cd0',
    500: '#7d45bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d45bb;
$custom-light: #a77cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d45bb",
  "rgb": {
    "r": 125,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 268.475,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.17923,
    "h": 302.4
  },
  "luminance": 0.12204
}

Semantic roles & 50–950 ramp

primary
#7D45BB
secondary
#AFC894
accent
#D65297
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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