#7945EE#7945EE

#7945EE is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.2% C 0.237 H 290.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7945EE
RGBrgb(121, 69, 238)
HSLhsl(258, 83%, 60%)
HSVhsv(258, 71%, 93%)
CMYKcmyk(49.2%, 71%, 0%, 6.7%)
CIE-LABlab(44.93, 59.60, -77.15)
CIE-LCHlch(44.93, 97.49, 307.68°)
OKLaboklab(55.17% 0.0832 -0.2214)
OKLCHoklch(55.17% 0.237 290.6)
XYZxyz(25.4415, 14.4932, 82.3293)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945EE #BAEE45
analogous
#4565EE #7945EE #CE45EE
triadic
#7945EE #EE7945 #45EE79
tetradic
#7945EE #EE4565 #BAEE45 #45EECE
square
#7945EE #EE4565 #BAEE45 #45EECE
split-complementary
#7945EE #EECE45 #65EE45
monochromatic
#3F0FA9 #5415E1 #7945EE #A17DF3 #CAB5F8

Accessibility & contrast

On white

5.39
#7945EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7945EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945EE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945EE#FFFFFF#000000##FFFFFF
##7945EE1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#517195
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7945ee;
/* rgb */ color: rgb(121, 69, 238);
/* oklch */ color: oklch(55.2% 0.237 290.6);
Tailwind
colors: {
  custom: {
    50: '#aa7df5',
    500: '#7945ee',
    950: '#000000',
  },
}
SCSS
$custom: #7945ee;
$custom-light: #aa7df5;
$custom-dark: #000000;
JSON
{
  "hex": "#7945ee",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 238
  },
  "hsl": {
    "h": 258.462,
    "s": 83.251,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.23655,
    "h": 290.6
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#7945EE
secondary
#D4E8A7
accent
#E0069D
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7945EE

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

Preview Lab → · Contrast checker → · Palette generator →

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