#7947FF#7947FF

#7947FF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.9% C 0.253 H 287.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7947FF
RGBrgb(121, 71, 255)
HSLhsl(256, 100%, 64%)
HSVhsv(256, 72%, 100%)
CMYKcmyk(52.5%, 72.2%, 0%, 0%)
CIE-LABlab(46.70, 63.17, -83.78)
CIE-LCHlch(46.70, 104.92, 307.02°)
OKLaboklab(56.85% 0.0779 -0.2409)
OKLCHoklch(56.85% 0.253 287.9)
XYZxyz(28.1831, 15.7900, 96.1511)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947FF #CDFF47
analogous
#4771FF #7947FF #D547FF
triadic
#7947FF #FF7947 #47FF79
tetradic
#7947FF #FF4771 #CDFF47 #47FFD5
square
#7947FF #FF4771 #CDFF47 #47FFD5
split-complementary
#7947FF #FFD547 #71FF47
monochromatic
#3700CC #4C0AFF #7947FF #A684FF #D2C1FF

Accessibility & contrast

On white

5.05
#7947FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7947FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947FF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947FF#FFFFFF#000000##FFFFFF
##7947FF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#43799F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7947ff;
/* rgb */ color: rgb(121, 71, 255);
/* oklch */ color: oklch(56.9% 0.253 287.9);
Tailwind
colors: {
  custom: {
    50: '#ac7fff',
    500: '#7947ff',
    950: '#000000',
  },
}
SCSS
$custom: #7947ff;
$custom-light: #ac7fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7947ff",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 255
  },
  "hsl": {
    "h": 256.304,
    "s": 100,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.25319,
    "h": 287.9
  },
  "luminance": 0.15791
}

Semantic roles & 50–950 ramp

primary
#7947FF
secondary
#E0F1B1
accent
#E600A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7947FF

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

Preview Lab → · Contrast checker → · Palette generator →

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