#7B45BF#7B45BF

#7B45BF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.183 H 300.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7B45BF
RGBrgb(123, 69, 191)
HSLhsl(267, 49%, 51%)
HSVhsv(267, 64%, 75%)
CMYKcmyk(35.6%, 63.9%, 0%, 25.1%)
CIE-LABlab(41.58, 47.71, -55.65)
CIE-LCHlch(41.58, 73.30, 310.61°)
OKLaboklab(51.7% 0.0929 -0.1582)
OKLCHoklch(51.7% 0.183 300.4)
XYZxyz(19.6982, 12.2286, 50.6027)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45BF #89BF45
analogous
#454CBF #7B45BF #B845BF
triadic
#7B45BF #BF7B45 #45BF7B
tetradic
#7B45BF #BF454C #89BF45 #45BFB8
square
#7B45BF #BF454C #89BF45 #45BFB8
split-complementary
#7B45BF #BFB845 #4CBF45
monochromatic
#412366 #5E3394 #7B45BF #9B73CF #BCA0DE

Accessibility & contrast

On white

6.09
#7B45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7B45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45BF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45BF#FFFFFF#000000##FFFFFF
##7B45BF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1061BC
Tritanopia (blue-blind)
#6C607C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b45bf;
/* rgb */ color: rgb(123, 69, 191);
/* oklch */ color: oklch(51.7% 0.183 300.4);
Tailwind
colors: {
  custom: {
    50: '#a67cd3',
    500: '#7b45bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b45bf;
$custom-light: #a67cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45bf",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 266.557,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51701,
    "c": 0.18347,
    "h": 300.4
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#7B45BF
secondary
#B3CB95
accent
#D84F9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7B45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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