#7945DE#7945DE

#7945DE is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.219 H 293.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7945DE
RGBrgb(121, 69, 222)
HSLhsl(260, 70%, 57%)
HSVhsv(260, 69%, 87%)
CMYKcmyk(45.5%, 68.9%, 0%, 12.9%)
CIE-LABlab(43.65, 55.36, -70.18)
CIE-LCHlch(43.65, 89.39, 308.27°)
OKLaboklab(53.86% 0.0862 -0.201)
OKLCHoklch(53.86% 0.219 293.2)
XYZxyz(23.1945, 13.5944, 70.4950)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945DE #AADE45
analogous
#455EDE #7945DE #C545DE
triadic
#7945DE #DE7945 #45DE79
tetradic
#7945DE #DE455E #AADE45 #45DEC5
square
#7945DE #DE455E #AADE45 #45DEC5
split-complementary
#7945DE #DEC545 #5EDE45
monochromatic
#41198F #5923C3 #7945DE #9E79E7 #C4ADF0

Accessibility & contrast

On white

5.65
#7945DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7945DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945DE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945DE#FFFFFF#000000##FFFFFF
##7945DE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#0064DB
Tritanopia (blue-blind)
#5B6B8C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7945de;
/* rgb */ color: rgb(121, 69, 222);
/* oklch */ color: oklch(53.9% 0.219 293.2);
Tailwind
colors: {
  custom: {
    50: '#a87de9',
    500: '#7945de',
    950: '#000000',
  },
}
SCSS
$custom: #7945de;
$custom-light: #a87de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7945de",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 260.392,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.21869,
    "h": 293.2
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#7945DE
secondary
#C9DFA0
accent
#ED3BB0
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7945DE

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

Preview Lab → · Contrast checker → · Palette generator →

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