#7945F0#7945F0

#7945F0 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.239 H 290.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7945F0
RGBrgb(121, 69, 240)
HSLhsl(258, 85%, 61%)
HSVhsv(258, 71%, 94%)
CMYKcmyk(49.6%, 71.3%, 0%, 5.9%)
CIE-LABlab(45.10, 60.13, -78.01)
CIE-LCHlch(45.10, 98.49, 307.62°)
OKLaboklab(55.34% 0.0827 -0.224)
OKLCHoklch(55.34% 0.239 290.3)
XYZxyz(25.7369, 14.6114, 83.8854)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7945F0 #BCF045
analogous
#4566F0 #7945F0 #CF45F0
triadic
#7945F0 #F07945 #45F079
tetradic
#7945F0 #F04566 #BCF045 #45F0CF
square
#7945F0 #F04566 #BCF045 #45F0CF
split-complementary
#7945F0 #F0CF45 #66F045
monochromatic
#3E0EAD #5312E5 #7945F0 #A27EF5 #CBB6F9

Accessibility & contrast

On white

5.35
#7945F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7945F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7945F0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7945F0#FFFFFF#000000##FFFFFF
##7945F01.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF5
Deuteranopia (green-blind)
#0067ED
Tritanopia (blue-blind)
#507296
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7945f0;
/* rgb */ color: rgb(121, 69, 240);
/* oklch */ color: oklch(55.3% 0.239 290.3);
Tailwind
colors: {
  custom: {
    50: '#aa7df6',
    500: '#7945f0',
    950: '#000000',
  },
}
SCSS
$custom: #7945f0;
$custom-light: #aa7df6;
$custom-dark: #000000;
JSON
{
  "hex": "#7945f0",
  "rgb": {
    "r": 121,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 258.246,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55336,
    "c": 0.23875,
    "h": 290.3
  },
  "luminance": 0.14612
}

Semantic roles & 50–950 ramp

primary
#7945F0
secondary
#D5E9A8
accent
#E2049E
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7945F0

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

Preview Lab → · Contrast checker → · Palette generator →

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