#7949DF#7949DF

#7949DF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.5% C 0.215 H 292.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7949DF
RGBrgb(121, 73, 223)
HSLhsl(259, 70%, 58%)
HSVhsv(259, 67%, 87%)
CMYKcmyk(45.7%, 67.3%, 0%, 12.5%)
CIE-LABlab(44.46, 53.60, -69.43)
CIE-LCHlch(44.46, 87.71, 307.67°)
OKLaboklab(54.46% 0.0822 -0.1988)
OKLCHoklch(54.46% 0.215 292.5)
XYZxyz(23.5833, 14.1570, 71.2877)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7949DF #AFDF49
analogous
#4964DF #7949DF #C449DF
triadic
#7949DF #DF7949 #49DF79
tetradic
#7949DF #DF4964 #AFDF49 #49DFC4
square
#7949DF #DF4964 #AFDF49 #49DFC4
split-complementary
#7949DF #DFC449 #64DF49
monochromatic
#411A94 #5823C8 #7949DF #9F7DE8 #C6B1F1

Accessibility & contrast

On white

5.48
#7949DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7949DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7949DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7949DF#FFFFFF#000000##FFFFFF
##7949DF1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#5A6E8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7949df;
/* rgb */ color: rgb(121, 73, 223);
/* oklch */ color: oklch(54.5% 0.215 292.5);
Tailwind
colors: {
  custom: {
    50: '#a87fea',
    500: '#7949df',
    950: '#000000',
  },
}
SCSS
$custom: #7949df;
$custom-light: #a87fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7949df",
  "rgb": {
    "r": 121,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 259.2,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.21512,
    "h": 292.5
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#7949DF
secondary
#CDE0A4
accent
#ED3BB4
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7949DF

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

Preview Lab → · Contrast checker → · Palette generator →

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