#7949DB#7949DB

#7949DB is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.211 H 293.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7949DB
RGBrgb(121, 73, 219)
HSLhsl(260, 67%, 57%)
HSVhsv(260, 67%, 86%)
CMYKcmyk(44.7%, 66.7%, 0%, 14.1%)
CIE-LABlab(44.15, 52.53, -67.65)
CIE-LCHlch(44.15, 85.65, 307.83°)
OKLaboklab(54.15% 0.0828 -0.1935)
OKLCHoklch(54.15% 0.211 293.2)
XYZxyz(23.0504, 13.9438, 68.4810)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949DB #ABDB49
analogous
#4962DB #7949DB #C249DB
triadic
#7949DB #DB7949 #49DB79
tetradic
#7949DB #DB4962 #ABDB49 #49DBC2
square
#7949DB #DB4962 #ABDB49 #49DBC2
split-complementary
#7949DB #DBC249 #62DB49
monochromatic
#411C8E #5926C1 #7949DB #9F7CE5 #C4AFEF

Accessibility & contrast

On white

5.54
#7949DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7949DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949DB#FFFFFF#000000##FFFFFF
##7949DB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#5D6D8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7949db;
/* rgb */ color: rgb(121, 73, 219);
/* oklch */ color: oklch(54.1% 0.211 293.2);
Tailwind
colors: {
  custom: {
    50: '#a77fe7',
    500: '#7949db',
    950: '#000000',
  },
}
SCSS
$custom: #7949db;
$custom-light: #a77fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#7949db",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 259.726,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54146,
    "c": 0.21051,
    "h": 293.2
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#7949DB
secondary
#CADDA2
accent
#EA3EB1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7949DB

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

Preview Lab → · Contrast checker → · Palette generator →

#7949DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva