#7945F1#7945F1

#7945F1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.240 H 290.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7945F1
RGBrgb(121, 69, 241)
HSLhsl(258, 86%, 61%)
HSVhsv(258, 71%, 95%)
CMYKcmyk(49.8%, 71.4%, 0%, 5.5%)
CIE-LABlab(45.18, 60.39, -78.43)
CIE-LCHlch(45.18, 98.99, 307.60°)
OKLaboklab(55.42% 0.0825 -0.2252)
OKLCHoklch(55.42% 0.24 290.1)
XYZxyz(25.8859, 14.6710, 84.6699)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945F1 #BDF145
analogous
#4567F1 #7945F1 #CF45F1
triadic
#7945F1 #F17945 #45F179
tetradic
#7945F1 #F14567 #BDF145 #45F1CF
square
#7945F1 #F14567 #BDF145 #45F1CF
split-complementary
#7945F1 #F1CF45 #67F145
monochromatic
#3E0DAE #5211E7 #7945F1 #A27EF5 #CBB7FA

Accessibility & contrast

On white

5.34
#7945F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7945F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945F1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945F1#FFFFFF#000000##FFFFFF
##7945F11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF6
Deuteranopia (green-blind)
#0067EE
Tritanopia (blue-blind)
#4F7397
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7945f1;
/* rgb */ color: rgb(121, 69, 241);
/* oklch */ color: oklch(55.4% 0.240 290.1);
Tailwind
colors: {
  custom: {
    50: '#aa7df7',
    500: '#7945f1',
    950: '#000000',
  },
}
SCSS
$custom: #7945f1;
$custom-light: #aa7df7;
$custom-dark: #000000;
JSON
{
  "hex": "#7945f1",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 258.14,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.23985,
    "h": 290.1
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#7945F1
secondary
#D6E9A8
accent
#E3039F
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7945F1

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

Preview Lab → · Contrast checker → · Palette generator →

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