#7945D0#7945D0

#7945D0 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.203 H 295.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7945D0
RGBrgb(121, 69, 208)
HSLhsl(262, 60%, 54%)
HSVhsv(262, 67%, 82%)
CMYKcmyk(41.8%, 66.8%, 0%, 18.4%)
CIE-LABlab(42.57, 51.68, -63.90)
CIE-LCHlch(42.57, 82.19, 308.96°)
OKLaboklab(52.75% 0.0883 -0.1825)
OKLCHoklch(52.75% 0.203 295.8)
XYZxyz(21.3954, 12.8748, 61.0201)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945D0 #9CD045
analogous
#4557D0 #7945D0 #BF45D0
triadic
#7945D0 #D07945 #45D079
tetradic
#7945D0 #D04557 #9CD045 #45D0BF
square
#7945D0 #D04557 #9CD045 #45D0BF
split-complementary
#7945D0 #D0BF45 #57D045
monochromatic
#421F7B #5C2CAC #7945D0 #9C76DC #BFA7E9

Accessibility & contrast

On white

5.87
#7945D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7945D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945D0
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945D0#FFFFFF#000000##FFFFFF
##7945D01.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#626685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7945d0;
/* rgb */ color: rgb(121, 69, 208);
/* oklch */ color: oklch(52.8% 0.203 295.8);
Tailwind
colors: {
  custom: {
    50: '#a67cdf',
    500: '#7945d0',
    950: '#000000',
  },
}
SCSS
$custom: #7945d0;
$custom-light: #a67cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7945d0",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 262.446,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.20279,
    "h": 295.8
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#7945D0
secondary
#C0D69B
accent
#E345A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7945D0

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

Preview Lab → · Contrast checker → · Palette generator →

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