#7954F3#7954F3

#7954F3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.225 H 287.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7954F3
RGBrgb(121, 84, 243)
HSLhsl(254, 87%, 64%)
HSVhsv(254, 65%, 95%)
CMYKcmyk(50.2%, 65.4%, 0%, 4.7%)
CIE-LABlab(48.10, 53.30, -74.78)
CIE-LCHlch(48.10, 91.83, 305.48°)
OKLaboklab(57.56% 0.0691 -0.2145)
OKLCHoklch(57.56% 0.225 287.8)
XYZxyz(27.2284, 16.8754, 86.5992)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7954F3 #CEF354
analogous
#547FF3 #7954F3 #C854F3
triadic
#7954F3 #F37954 #54F379
tetradic
#7954F3 #F3547F #CEF354 #54F3C8
square
#7954F3 #F3547F #CEF354 #54F3C8
split-complementary
#7954F3 #F3C854 #7FF354
monochromatic
#370DBF #4C1BEF #7954F3 #A68DF7 #D3C6FB

Accessibility & contrast

On white

4.80
#7954F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7954F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7954F3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7954F3#FFFFFF#000000##FFFFFF
##7954F31.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#006EF0
Tritanopia (blue-blind)
#4C7C9C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7954f3;
/* rgb */ color: rgb(121, 84, 243);
/* oklch */ color: oklch(57.6% 0.225 287.8);
Tailwind
colors: {
  custom: {
    50: '#a986f8',
    500: '#7954f3',
    950: '#000000',
  },
}
SCSS
$custom: #7954f3;
$custom-light: #a986f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7954f3",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 253.962,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.22537,
    "h": 287.8
  },
  "luminance": 0.16877
}

Semantic roles & 50–950 ramp

primary
#7954F3
secondary
#E0EDB6
accent
#E302AF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7954F3

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

Preview Lab → · Contrast checker → · Palette generator →

#7954F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva