#7B45DA#7B45DA

#7B45DA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.214 H 294.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7B45DA
RGBrgb(123, 69, 218)
HSLhsl(262, 67%, 56%)
HSVhsv(262, 68%, 85%)
CMYKcmyk(43.6%, 68.3%, 0%, 14.5%)
CIE-LABlab(43.55, 54.67, -68.05)
CIE-LCHlch(43.55, 87.28, 308.78°)
OKLaboklab(53.74% 0.0896 -0.1946)
OKLCHoklch(53.74% 0.214 294.7)
XYZxyz(22.9480, 13.5286, 67.7183)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B45DA #A4DA45
analogous
#455ADA #7B45DA #C645DA
triadic
#7B45DA #DA7B45 #45DA7B
tetradic
#7B45DA #DA455A #A4DA45 #45DAC6
square
#7B45DA #DA455A #A4DA45 #45DAC6
split-complementary
#7B45DA #DAC645 #5ADA45
monochromatic
#431B89 #5C25BC #7B45DA #9F78E4 #C3ABEE

Accessibility & contrast

On white

5.67
#7B45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7B45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B45DA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B45DA#FFFFFF#000000##FFFFFF
##7B45DA1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#616A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b45da;
/* rgb */ color: rgb(123, 69, 218);
/* oklch */ color: oklch(53.7% 0.214 294.7);
Tailwind
colors: {
  custom: {
    50: '#a97de6',
    500: '#7b45da',
    950: '#000000',
  },
}
SCSS
$custom: #7b45da;
$custom-light: #a97de6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b45da",
  "rgb": {
    "r": 123,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 261.745,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.21429,
    "h": 294.7
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#7B45DA
secondary
#C6DC9F
accent
#EA3EAC
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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