#7947E9#7947E9

#7947E9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.229 H 291.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7947E9
RGBrgb(121, 71, 233)
HSLhsl(259, 79%, 60%)
HSVhsv(259, 70%, 91%)
CMYKcmyk(48.1%, 69.5%, 0%, 8.6%)
CIE-LABlab(44.88, 57.28, -74.42)
CIE-LCHlch(44.88, 93.91, 307.59°)
OKLaboklab(55% 0.0824 -0.2134)
OKLCHoklch(55% 0.229 291.1)
XYZxyz(24.8422, 14.4537, 78.5559)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947E9 #B7E947
analogous
#4766E9 #7947E9 #CA47E9
triadic
#7947E9 #E97947 #47E979
tetradic
#7947E9 #E94766 #B7E947 #47E9CA
square
#7947E9 #E94766 #B7E947 #47E9CA
split-complementary
#7947E9 #E9CA47 #66E947
monochromatic
#3F13A2 #551AD9 #7947E9 #A17EF0 #C9B4F6

Accessibility & contrast

On white

5.40
#7947E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7947E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947E9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947E9#FFFFFF#000000##FFFFFF
##7947E91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#547193
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7947e9;
/* rgb */ color: rgb(121, 71, 233);
/* oklch */ color: oklch(55.0% 0.229 291.1);
Tailwind
colors: {
  custom: {
    50: '#a97ef1',
    500: '#7947e9',
    950: '#000000',
  },
}
SCSS
$custom: #7947e9;
$custom-light: #a97ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#7947e9",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 233
  },
  "hsl": {
    "h": 258.519,
    "s": 78.641,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55003,
    "c": 0.22879,
    "h": 291.1
  },
  "luminance": 0.14455
}

Semantic roles & 50–950 ramp

primary
#7947E9
secondary
#D2E5A6
accent
#F533B9
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7947E9

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

Preview Lab → · Contrast checker → · Palette generator →

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