#7952E8#7952E8

#7952E8 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.215 H 289.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7952E8
RGBrgb(121, 82, 232)
HSLhsl(256, 77%, 62%)
HSVhsv(256, 65%, 91%)
CMYKcmyk(47.8%, 64.7%, 0%, 9%)
CIE-LABlab(46.88, 51.31, -70.59)
CIE-LCHlch(46.88, 87.27, 306.01°)
OKLaboklab(56.41% 0.0723 -0.2022)
OKLCHoklch(56.41% 0.215 289.7)
XYZxyz(25.4638, 15.9247, 78.0604)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952E8 #C1E852
analogous
#5276E8 #7952E8 #C452E8
triadic
#7952E8 #E87952 #52E879
tetradic
#7952E8 #E85276 #C1E852 #52E8C4
square
#7952E8 #E85276 #C1E852 #52E8C4
split-complementary
#7952E8 #E8C452 #76E852
monochromatic
#3D16A9 #501EDF #7952E8 #A388EF #CDBEF6

Accessibility & contrast

On white

5.02
#7952E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7952E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952E8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952E8#FFFFFF#000000##FFFFFF
##7952E81.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#547696
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7952e8;
/* rgb */ color: rgb(121, 82, 232);
/* oklch */ color: oklch(56.4% 0.215 289.7);
Tailwind
colors: {
  custom: {
    50: '#a885f0',
    500: '#7952e8',
    950: '#000000',
  },
}
SCSS
$custom: #7952e8;
$custom-light: #a885f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7952e8",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 255.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.21476,
    "h": 289.7
  },
  "luminance": 0.15926
}

Semantic roles & 50–950 ramp

primary
#7952E8
secondary
#D8E7AF
accent
#D90DA4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7952E8

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

Preview Lab → · Contrast checker → · Palette generator →

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