#7952EF#7952EF

#7952EF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.223 H 288.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7952EF
RGBrgb(121, 82, 239)
HSLhsl(255, 83%, 63%)
HSVhsv(255, 66%, 94%)
CMYKcmyk(49.4%, 65.7%, 0%, 6.3%)
CIE-LABlab(47.41, 53.25, -73.67)
CIE-LCHlch(47.41, 90.91, 305.86°)
OKLaboklab(56.96% 0.0714 -0.2113)
OKLCHoklch(56.96% 0.223 288.7)
XYZxyz(26.4779, 16.3304, 83.4015)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952EF #C8EF52
analogous
#527AEF #7952EF #C752EF
triadic
#7952EF #EF7952 #52EF79
tetradic
#7952EF #EF527A #C8EF52 #52EFC7
square
#7952EF #EF527A #C8EF52 #52EFC7
split-complementary
#7952EF #EFC752 #7AEF52
monochromatic
#3A11B6 #4E1AEA #7952EF #A48AF4 #D0C2F9

Accessibility & contrast

On white

4.92
#7952EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7952EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952EF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952EF#FFFFFF#000000##FFFFFF
##7952EF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#50799A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7952ef;
/* rgb */ color: rgb(121, 82, 239);
/* oklch */ color: oklch(57.0% 0.223 288.7);
Tailwind
colors: {
  custom: {
    50: '#a985f5',
    500: '#7952ef',
    950: '#000000',
  },
}
SCSS
$custom: #7952ef;
$custom-light: #a985f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7952ef",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 254.904,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.22302,
    "h": 288.7
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#7952EF
secondary
#DDEBB2
accent
#DF06A9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7952EF

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

Preview Lab → · Contrast checker → · Palette generator →

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