#7945D9#7945D9

#7945D9 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.213 H 294.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7945D9
RGBrgb(121, 69, 217)
HSLhsl(261, 66%, 56%)
HSVhsv(261, 68%, 85%)
CMYKcmyk(44.2%, 68.2%, 0%, 14.9%)
CIE-LABlab(43.26, 54.04, -67.96)
CIE-LCHlch(43.26, 86.83, 308.49°)
OKLaboklab(53.46% 0.087 -0.1945)
OKLCHoklch(53.46% 0.213 294.1)
XYZxyz(22.5343, 13.3303, 67.0179)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945D9 #A5D945
analogous
#455BD9 #7945D9 #C345D9
triadic
#7945D9 #D97945 #45D979
tetradic
#7945D9 #D9455B #A5D945 #45D9C3
square
#7945D9 #D9455B #A5D945 #45D9C3
split-complementary
#7945D9 #D9C345 #5BD945
monochromatic
#421C88 #5A26BB #7945D9 #9E78E3 #C2ABEE

Accessibility & contrast

On white

5.73
#7945D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7945D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945D9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945D9#FFFFFF#000000##FFFFFF
##7945D91.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#5E6A8A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7945d9;
/* rgb */ color: rgb(121, 69, 217);
/* oklch */ color: oklch(53.5% 0.213 294.1);
Tailwind
colors: {
  custom: {
    50: '#a77ce6',
    500: '#7945d9',
    950: '#000000',
  },
}
SCSS
$custom: #7945d9;
$custom-light: #a77ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#7945d9",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 261.081,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.21304,
    "h": 294.1
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#7945D9
secondary
#C6DB9E
accent
#E93FAD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7945D9

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

Preview Lab → · Contrast checker → · Palette generator →

#7945D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva