#7948D1#7948D1

#7948D1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.2% C 0.200 H 295.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7948D1
RGBrgb(121, 72, 209)
HSLhsl(261, 60%, 55%)
HSVhsv(261, 66%, 82%)
CMYKcmyk(42.1%, 65.6%, 0%, 18%)
CIE-LABlab(43.22, 50.39, -63.44)
CIE-LCHlch(43.22, 81.02, 308.46°)
OKLaboklab(53.24% 0.0851 -0.1812)
OKLCHoklch(53.24% 0.2 295.2)
XYZxyz(21.7081, 13.3026, 61.7332)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948D1 #A0D148
analogous
#485BD1 #7948D1 #BE48D1
triadic
#7948D1 #D17948 #48D179
tetradic
#7948D1 #D1485B #A0D148 #48D1BE
square
#7948D1 #D1485B #A0D148 #48D1BE
split-complementary
#7948D1 #D1BE48 #5BD148
monochromatic
#42207F #5B2CB0 #7948D1 #9D79DD #C1AAEA

Accessibility & contrast

On white

5.74
#7948D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7948D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948D1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948D1#FFFFFF#000000##FFFFFF
##7948D11.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#626886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7948d1;
/* rgb */ color: rgb(121, 72, 209);
/* oklch */ color: oklch(53.2% 0.200 295.2);
Tailwind
colors: {
  custom: {
    50: '#a67ee0',
    500: '#7948d1',
    950: '#000000',
  },
}
SCSS
$custom: #7948d1;
$custom-light: #a67ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7948d1",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 261.46,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.20016,
    "h": 295.2
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#7948D1
secondary
#C3D79E
accent
#E345AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7948D1

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

Preview Lab → · Contrast checker → · Palette generator →

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