#7945AE#7945AE

#7945AE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.3% C 0.163 H 303.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7945AE
RGBrgb(121, 69, 174)
HSLhsl(270, 43%, 48%)
HSVhsv(270, 60%, 68%)
CMYKcmyk(30.5%, 60.3%, 0%, 31.8%)
CIE-LABlab(40.21, 42.99, -47.87)
CIE-LCHlch(40.21, 64.34, 311.93°)
OKLaboklab(50.29% 0.0911 -0.1354)
OKLCHoklch(50.29% 0.163 303.9)
XYZxyz(17.6516, 11.3772, 41.3023)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945AE #7AAE45
analogous
#4546AE #7945AE #AD45AE
triadic
#7945AE #AE7945 #45AE79
tetradic
#7945AE #AE4546 #7AAE45 #45AEAD
square
#7945AE #AE4546 #7AAE45 #45AEAD
split-complementary
#7945AE #AEAD45 #46AE45
monochromatic
#3C2256 #5B3482 #7945AE #986CC5 #B697D6

Accessibility & contrast

On white

6.41
#7945AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7945AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945AE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945AE#FFFFFF#000000##FFFFFF
##7945AE1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105DB1
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#6F5A73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7945ae;
/* rgb */ color: rgb(121, 69, 174);
/* oklch */ color: oklch(50.3% 0.163 303.9);
Tailwind
colors: {
  custom: {
    50: '#a37bc7',
    500: '#7945ae',
    950: '#000000',
  },
}
SCSS
$custom: #7945ae;
$custom-light: #a37bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7945ae",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 269.714,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.16319,
    "h": 303.9
  },
  "luminance": 0.11377
}

Semantic roles & 50–950 ramp

primary
#7945AE
secondary
#A8C28D
accent
#D35595
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7945AE

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

Preview Lab → · Contrast checker → · Palette generator →

#7945AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva