#7948C8#7948C8

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

Color values

HEX#7948C8
RGBrgb(121, 72, 200)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 64%, 78%)
CMYKcmyk(39.5%, 64%, 0%, 21.6%)
CIE-LABlab(42.57, 48.02, -59.29)
CIE-LCHlch(42.57, 76.30, 309.00°)
OKLaboklab(52.57% 0.0861 -0.169)
OKLCHoklch(52.57% 0.19 297)
XYZxyz(20.6252, 12.8694, 56.0298)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7948C8 #97C848
analogous
#4857C8 #7948C8 #B948C8
triadic
#7948C8 #C87948 #48C879
tetradic
#7948C8 #C84857 #97C848 #48C8B9
square
#7948C8 #C84857 #97C848 #48C8B9
split-complementary
#7948C8 #C8B948 #57C848
monochromatic
#412373 #5C31A2 #7948C8 #9B77D6 #BEA6E4

Accessibility & contrast

On white

5.88
#7948C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7948C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7948C8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7948C8#FFFFFF#000000##FFFFFF
##7948C81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#666581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7948c8;
/* rgb */ color: rgb(121, 72, 200);
/* oklch */ color: oklch(52.6% 0.190 297.0);
Tailwind
colors: {
  custom: {
    50: '#a57ed9',
    500: '#7948c8',
    950: '#000000',
  },
}
SCSS
$custom: #7948c8;
$custom-light: #a57ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7948c8",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 262.969,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.18964,
    "h": 297
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#7948C8
secondary
#BCD19A
accent
#DD4BA5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7948C8

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

Preview Lab → · Contrast checker → · Palette generator →

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