#7945D3#7945D3

#7945D3 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.206 H 295.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7945D3
RGBrgb(121, 69, 211)
HSLhsl(262, 62%, 55%)
HSVhsv(262, 67%, 83%)
CMYKcmyk(42.7%, 67.3%, 0%, 17.3%)
CIE-LABlab(42.80, 52.47, -65.26)
CIE-LCHlch(42.80, 83.74, 308.80°)
OKLaboklab(52.99% 0.0879 -0.1865)
OKLCHoklch(52.99% 0.206 295.2)
XYZxyz(21.7680, 13.0238, 62.9823)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945D3 #9FD345
analogous
#4558D3 #7945D3 #C045D3
triadic
#7945D3 #D37945 #45D379
tetradic
#7945D3 #D34558 #9FD345 #45D3C0
square
#7945D3 #D34558 #9FD345 #45D3C0
split-complementary
#7945D3 #D3C045 #58D345
monochromatic
#421E7F #5B2AB1 #7945D3 #9D76DF #C0A8EA

Accessibility & contrast

On white

5.83
#7945D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7945D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945D3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945D3#FFFFFF#000000##FFFFFF
##7945D31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#616786
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7945d3;
/* rgb */ color: rgb(121, 69, 211);
/* oklch */ color: oklch(53.0% 0.206 295.2);
Tailwind
colors: {
  custom: {
    50: '#a77ce1',
    500: '#7945d3',
    950: '#000000',
  },
}
SCSS
$custom: #7945d3;
$custom-light: #a77ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7945d3",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 261.972,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.20622,
    "h": 295.2
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#7945D3
secondary
#C2D89C
accent
#E543AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7945D3

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

Preview Lab → · Contrast checker → · Palette generator →

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