#7948DA#7948DA

#7948DA is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.211 H 293.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7948DA
RGBrgb(121, 72, 218)
HSLhsl(260, 66%, 57%)
HSVhsv(260, 67%, 85%)
CMYKcmyk(44.5%, 67%, 0%, 14.5%)
CIE-LABlab(43.89, 52.78, -67.50)
CIE-LCHlch(43.89, 85.69, 308.02°)
OKLaboklab(53.93% 0.0839 -0.1931)
OKLCHoklch(53.93% 0.211 293.5)
XYZxyz(22.8540, 13.7610, 67.7681)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948DA #A9DA48
analogous
#4860DA #7948DA #C248DA
triadic
#7948DA #DA7948 #48DA79
tetradic
#7948DA #DA4860 #A9DA48 #48DAC2
square
#7948DA #DA4860 #A9DA48 #48DAC2
split-complementary
#7948DA #DAC248 #60DA48
monochromatic
#421C8B #5926BE #7948DA #9E7BE4 #C4AEEF

Accessibility & contrast

On white

5.60
#7948DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7948DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948DA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948DA#FFFFFF#000000##FFFFFF
##7948DA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#5D6C8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7948da;
/* rgb */ color: rgb(121, 72, 218);
/* oklch */ color: oklch(53.9% 0.211 293.5);
Tailwind
colors: {
  custom: {
    50: '#a77ee6',
    500: '#7948da',
    950: '#000000',
  },
}
SCSS
$custom: #7948da;
$custom-light: #a77ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7948da",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 260.137,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53932,
    "c": 0.21057,
    "h": 293.5
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#7948DA
secondary
#C9DDA1
accent
#E93FB0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7948DA

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

Preview Lab → · Contrast checker → · Palette generator →

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