#7945C7#7945C7

#7945C7 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.192 H 297.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7945C7
RGBrgb(121, 69, 199)
HSLhsl(264, 54%, 53%)
HSVhsv(264, 65%, 78%)
CMYKcmyk(39.2%, 65.3%, 0%, 22%)
CIE-LABlab(41.91, 49.34, -59.77)
CIE-LCHlch(41.91, 77.50, 309.54°)
OKLaboklab(52.07% 0.0894 -0.1704)
OKLCHoklch(52.07% 0.192 297.7)
XYZxyz(20.3194, 12.4444, 55.3532)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945C7 #93C745
analogous
#4552C7 #7945C7 #BA45C7
triadic
#7945C7 #C77945 #45C779
tetradic
#7945C7 #C74552 #93C745 #45C7BA
square
#7945C7 #C74552 #93C745 #45C7BA
split-complementary
#7945C7 #C7BA45 #52C745
monochromatic
#412270 #5C309F #7945C7 #9B74D5 #BDA3E3

Accessibility & contrast

On white

6.02
#7945C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7945C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945C7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945C7#FFFFFF#000000##FFFFFF
##7945C71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#666380
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7945c7;
/* rgb */ color: rgb(121, 69, 199);
/* oklch */ color: oklch(52.1% 0.192 297.7);
Tailwind
colors: {
  custom: {
    50: '#a57cd9',
    500: '#7945c7',
    950: '#000000',
  },
}
SCSS
$custom: #7945c7;
$custom-light: #a57cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7945c7",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 264,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.19243,
    "h": 297.7
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#7945C7
secondary
#BAD098
accent
#DD4BA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7945C7

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

Preview Lab → · Contrast checker → · Palette generator →

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