#7952D5#7952D5

#7952D5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.192 H 292.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7952D5
RGBrgb(121, 82, 213)
HSLhsl(258, 61%, 58%)
HSVhsv(258, 62%, 84%)
CMYKcmyk(43.2%, 61.5%, 0%, 16.5%)
CIE-LABlab(45.50, 46.08, -62.03)
CIE-LCHlch(45.50, 77.27, 306.61°)
OKLaboklab(54.98% 0.074 -0.177)
OKLCHoklch(54.98% 0.192 292.7)
XYZxyz(22.9094, 14.9030, 64.6074)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952D5 #AED552
analogous
#526CD5 #7952D5 #BB52D5
triadic
#7952D5 #D57952 #52D579
tetradic
#7952D5 #D5526C #AED552 #52D5BB
square
#7952D5 #D5526C #AED552 #52D5BB
split-complementary
#7952D5 #D5BB52 #6CD552
monochromatic
#41228B #582EBC #7952D5 #9F83E1 #C5B4ED

Accessibility & contrast

On white

5.28
#7952D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7952D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952D5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952D5#FFFFFF#000000##FFFFFF
##7952D51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#5F708C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7952d5;
/* rgb */ color: rgb(121, 82, 213);
/* oklch */ color: oklch(55.0% 0.192 292.7);
Tailwind
colors: {
  custom: {
    50: '#a684e3',
    500: '#7952d5',
    950: '#000000',
  },
}
SCSS
$custom: #7952d5;
$custom-light: #a684e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7952d5",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 257.863,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.19188,
    "h": 292.7
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#7952D5
secondary
#CCDCA7
accent
#E444B4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7952D5

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

Preview Lab → · Contrast checker → · Palette generator →

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