#7948AF#7948AF

#7948AF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.160 H 303.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7948AF
RGBrgb(121, 72, 175)
HSLhsl(269, 42%, 48%)
HSVhsv(269, 59%, 69%)
CMYKcmyk(30.9%, 58.9%, 0%, 31.4%)
CIE-LABlab(40.89, 41.60, -47.37)
CIE-LCHlch(40.89, 63.04, 311.29°)
OKLaboklab(50.81% 0.0873 -0.1339)
OKLCHoklch(50.81% 0.16 303.1)
XYZxyz(17.9386, 11.7948, 41.8807)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948AF #7EAF48
analogous
#484AAF #7948AF #AC48AF
triadic
#7948AF #AF7948 #48AF79
tetradic
#7948AF #AF484A #7EAF48 #48AFAC
square
#7948AF #AF484A #7EAF48 #48AFAC
split-complementary
#7948AF #AFAC48 #4AAF48
monochromatic
#3D2458 #5B3684 #7948AF #9870C4 #B79BD6

Accessibility & contrast

On white

6.25
#7948AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7948AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948AF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948AF#FFFFFF#000000##FFFFFF
##7948AF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#2F60AD
Tritanopia (blue-blind)
#6F5D74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7948af;
/* rgb */ color: rgb(121, 72, 175);
/* oklch */ color: oklch(50.8% 0.160 303.1);
Tailwind
colors: {
  custom: {
    50: '#a37dc7',
    500: '#7948af',
    950: '#000000',
  },
}
SCSS
$custom: #7948af;
$custom-light: #a37dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7948af",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 268.544,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.15986,
    "h": 303.1
  },
  "luminance": 0.11795
}

Semantic roles & 50–950 ramp

primary
#7948AF
secondary
#ABC290
accent
#D25697
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7948AF

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

Preview Lab → · Contrast checker → · Palette generator →

#7948AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva