#7948C9#7948C9

#7948C9 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.191 H 296.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7948C9
RGBrgb(121, 72, 201)
HSLhsl(263, 54%, 54%)
HSVhsv(263, 64%, 79%)
CMYKcmyk(39.8%, 64.2%, 0%, 21.2%)
CIE-LABlab(42.64, 48.29, -59.76)
CIE-LCHlch(42.64, 76.83, 308.94°)
OKLaboklab(52.64% 0.086 -0.1703)
OKLCHoklch(52.64% 0.191 296.8)
XYZxyz(20.7424, 12.9163, 56.6473)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948C9 #98C948
analogous
#4857C9 #7948C9 #B948C9
triadic
#7948C9 #C97948 #48C979
tetradic
#7948C9 #C94857 #98C948 #48C9B9
square
#7948C9 #C94857 #98C948 #48C9B9
split-complementary
#7948C9 #C9B948 #57C948
monochromatic
#412274 #5C30A4 #7948C9 #9C77D7 #BEA7E5

Accessibility & contrast

On white

5.86
#7948C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7948C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948C9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948C9#FFFFFF#000000##FFFFFF
##7948C91.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#656682
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7948c9;
/* rgb */ color: rgb(121, 72, 201);
/* oklch */ color: oklch(52.6% 0.191 296.8);
Tailwind
colors: {
  custom: {
    50: '#a57eda',
    500: '#7948c9',
    950: '#000000',
  },
}
SCSS
$custom: #7948c9;
$custom-light: #a57eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7948c9",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 201
  },
  "hsl": {
    "h": 262.791,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52638,
    "c": 0.19081,
    "h": 296.8
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#7948C9
secondary
#BDD29B
accent
#DE4AA6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7948C9

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

Preview Lab → · Contrast checker → · Palette generator →

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