#7947CA#7947CA

#7947CA is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.193 H 296.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7947CA
RGBrgb(121, 71, 202)
HSLhsl(263, 55%, 54%)
HSVhsv(263, 65%, 79%)
CMYKcmyk(40.1%, 64.9%, 0%, 20.8%)
CIE-LABlab(42.51, 49.08, -60.54)
CIE-LCHlch(42.51, 77.93, 309.03°)
OKLaboklab(52.57% 0.087 -0.1726)
OKLCHoklch(52.57% 0.193 296.7)
XYZxyz(20.7963, 12.8353, 57.2474)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947CA #98CA47
analogous
#4756CA #7947CA #BA47CA
triadic
#7947CA #CA7947 #47CA79
tetradic
#7947CA #CA4756 #98CA47 #47CABA
square
#7947CA #CA4756 #98CA47 #47CABA
split-complementary
#7947CA #CABA47 #56CA47
monochromatic
#412275 #5C2FA4 #7947CA #9C77D8 #BEA6E5

Accessibility & contrast

On white

5.89
#7947CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7947CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947CA#FFFFFF#000000##FFFFFF
##7947CA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#656582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7947ca;
/* rgb */ color: rgb(121, 71, 202);
/* oklch */ color: oklch(52.6% 0.193 296.7);
Tailwind
colors: {
  custom: {
    50: '#a57ddb',
    500: '#7947ca',
    950: '#000000',
  },
}
SCSS
$custom: #7947ca;
$custom-light: #a57ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7947ca",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 262.901,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.1933,
    "h": 296.7
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#7947CA
secondary
#BDD29A
accent
#DF49A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7947CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva