#7952ED#7952ED

#7952ED is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.8% C 0.221 H 289.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7952ED
RGBrgb(121, 82, 237)
HSLhsl(255, 81%, 63%)
HSVhsv(255, 65%, 93%)
CMYKcmyk(48.9%, 65.4%, 0%, 7.1%)
CIE-LABlab(47.25, 52.70, -72.80)
CIE-LCHlch(47.25, 89.87, 305.90°)
OKLaboklab(56.8% 0.0717 -0.2087)
OKLCHoklch(56.8% 0.221 289)
XYZxyz(26.1841, 16.2128, 81.8541)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952ED #C6ED52
analogous
#5278ED #7952ED #C752ED
triadic
#7952ED #ED7952 #52ED79
tetradic
#7952ED #ED5278 #C6ED52 #52EDC7
square
#7952ED #ED5278 #C6ED52 #52EDC7
split-complementary
#7952ED #EDC752 #78ED52
monochromatic
#3B13B2 #4E1BE7 #7952ED #A489F3 #CFC1F9

Accessibility & contrast

On white

4.95
#7952ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7952ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952ED
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952ED#FFFFFF#000000##FFFFFF
##7952ED1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#517899
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7952ed;
/* rgb */ color: rgb(121, 82, 237);
/* oklch */ color: oklch(56.8% 0.221 289.0);
Tailwind
colors: {
  custom: {
    50: '#a985f4',
    500: '#7952ed',
    950: '#000000',
  },
}
SCSS
$custom: #7952ed;
$custom-light: #a985f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7952ed",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 255.097,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56802,
    "c": 0.22068,
    "h": 289
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#7952ED
secondary
#DBEAB1
accent
#DE08A8
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7952ED

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

Preview Lab → · Contrast checker → · Palette generator →

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