#7945D6#7945D6

#7945D6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.210 H 294.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7945D6
RGBrgb(121, 69, 214)
HSLhsl(262, 64%, 55%)
HSVhsv(262, 68%, 84%)
CMYKcmyk(43.5%, 67.8%, 0%, 16.1%)
CIE-LABlab(43.03, 53.25, -66.62)
CIE-LCHlch(43.03, 85.29, 308.64°)
OKLaboklab(53.22% 0.0875 -0.1905)
OKLCHoklch(53.22% 0.21 294.7)
XYZxyz(22.1476, 13.1757, 64.9815)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945D6 #A2D645
analogous
#4559D6 #7945D6 #C145D6
triadic
#7945D6 #D67945 #45D679
tetradic
#7945D6 #D64559 #A2D645 #45D6C1
square
#7945D6 #D64559 #A2D645 #45D6C1
split-complementary
#7945D6 #D6C145 #59D645
monochromatic
#421D84 #5B28B6 #7945D6 #9D77E1 #C1A9EC

Accessibility & contrast

On white

5.78
#7945D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7945D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945D6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945D6#FFFFFF#000000##FFFFFF
##7945D61.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#5F6888
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7945d6;
/* rgb */ color: rgb(121, 69, 214);
/* oklch */ color: oklch(53.2% 0.210 294.7);
Tailwind
colors: {
  custom: {
    50: '#a77ce4',
    500: '#7945d6',
    950: '#000000',
  },
}
SCSS
$custom: #7945d6;
$custom-light: #a77ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#7945d6",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 261.517,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.20963,
    "h": 294.7
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#7945D6
secondary
#C4DA9D
accent
#E741AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7945D6

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

Preview Lab → · Contrast checker → · Palette generator →

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