#7952F3#7952F3

#7952F3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.228 H 288.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7952F3
RGBrgb(121, 82, 243)
HSLhsl(255, 87%, 64%)
HSVhsv(255, 66%, 95%)
CMYKcmyk(50.2%, 66.3%, 0%, 4.7%)
CIE-LABlab(47.71, 54.37, -75.42)
CIE-LCHlch(47.71, 92.97, 305.79°)
OKLaboklab(57.28% 0.0709 -0.2164)
OKLCHoklch(57.28% 0.228 288.1)
XYZxyz(27.0754, 16.5693, 86.5482)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952F3 #CCF352
analogous
#527BF3 #7952F3 #C952F3
triadic
#7952F3 #F37952 #52F379
tetradic
#7952F3 #F3527B #CCF352 #52F3C9
square
#7952F3 #F3527B #CCF352 #52F3C9
split-complementary
#7952F3 #F3C952 #7BF352
monochromatic
#380DBD #4D19EF #7952F3 #A58BF7 #D2C4FB

Accessibility & contrast

On white

4.87
#7952F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7952F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952F3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952F3#FFFFFF#000000##FFFFFF
##7952F31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#4D7A9C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7952f3;
/* rgb */ color: rgb(121, 82, 243);
/* oklch */ color: oklch(57.3% 0.228 288.1);
Tailwind
colors: {
  custom: {
    50: '#a985f8',
    500: '#7952f3',
    950: '#000000',
  },
}
SCSS
$custom: #7952f3;
$custom-light: #a985f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7952f3",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 254.534,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.22772,
    "h": 288.1
  },
  "luminance": 0.16571
}

Semantic roles & 50–950 ramp

primary
#7952F3
secondary
#DFEDB4
accent
#E402AD
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7952F3

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

Preview Lab → · Contrast checker → · Palette generator →

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