#7945C8#7945C8

#7945C8 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.194 H 297.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7945C8
RGBrgb(121, 69, 200)
HSLhsl(264, 54%, 53%)
HSVhsv(264, 66%, 78%)
CMYKcmyk(39.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(41.99, 49.60, -60.23)
CIE-LCHlch(41.99, 78.03, 309.47°)
OKLaboklab(52.15% 0.0893 -0.1717)
OKLCHoklch(52.15% 0.194 297.5)
XYZxyz(20.4359, 12.4910, 55.9667)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945C8 #94C845
analogous
#4552C8 #7945C8 #BB45C8
triadic
#7945C8 #C87945 #45C879
tetradic
#7945C8 #C84552 #94C845 #45C8BB
square
#7945C8 #C84552 #94C845 #45C8BB
split-complementary
#7945C8 #C8BB45 #52C845
monochromatic
#412171 #5C2FA0 #7945C8 #9B74D6 #BDA3E4

Accessibility & contrast

On white

6.00
#7945C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7945C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945C8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945C8#FFFFFF#000000##FFFFFF
##7945C81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#666380
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7945c8;
/* rgb */ color: rgb(121, 69, 200);
/* oklch */ color: oklch(52.1% 0.194 297.5);
Tailwind
colors: {
  custom: {
    50: '#a57cda',
    500: '#7945c8',
    950: '#000000',
  },
}
SCSS
$custom: #7945c8;
$custom-light: #a57cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7945c8",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 263.817,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.19358,
    "h": 297.5
  },
  "luminance": 0.12491
}

Semantic roles & 50–950 ramp

primary
#7945C8
secondary
#BAD198
accent
#DE4AA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7945C8

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

Preview Lab → · Contrast checker → · Palette generator →

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