#7945C9#7945C9

#7945C9 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.195 H 297.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7945C9
RGBrgb(121, 69, 201)
HSLhsl(264, 55%, 53%)
HSVhsv(264, 66%, 79%)
CMYKcmyk(39.8%, 65.7%, 0%, 21.2%)
CIE-LABlab(42.06, 49.86, -60.70)
CIE-LCHlch(42.06, 78.55, 309.40°)
OKLaboklab(52.22% 0.0892 -0.1731)
OKLCHoklch(52.22% 0.195 297.3)
XYZxyz(20.5532, 12.5379, 56.5842)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945C9 #95C945
analogous
#4553C9 #7945C9 #BB45C9
triadic
#7945C9 #C97945 #45C979
tetradic
#7945C9 #C94553 #95C945 #45C9BB
square
#7945C9 #C94553 #95C945 #45C9BB
split-complementary
#7945C9 #C9BB45 #53C945
monochromatic
#412172 #5C2FA2 #7945C9 #9B74D7 #BDA4E5

Accessibility & contrast

On white

5.99
#7945C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7945C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945C9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945C9#FFFFFF#000000##FFFFFF
##7945C91.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#656481
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7945c9;
/* rgb */ color: rgb(121, 69, 201);
/* oklch */ color: oklch(52.2% 0.195 297.3);
Tailwind
colors: {
  custom: {
    50: '#a67cda',
    500: '#7945c9',
    950: '#000000',
  },
}
SCSS
$custom: #7945c9;
$custom-light: #a67cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7945c9",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 263.636,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.19474,
    "h": 297.3
  },
  "luminance": 0.12538
}

Semantic roles & 50–950 ramp

primary
#7945C9
secondary
#BBD198
accent
#DE49A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7945C9

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

Preview Lab → · Contrast checker → · Palette generator →

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