#7952BD#7952BD

#7952BD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.162 H 297.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7952BD
RGBrgb(121, 82, 189)
HSLhsl(262, 45%, 53%)
HSVhsv(262, 57%, 74%)
CMYKcmyk(36%, 56.6%, 0%, 25.9%)
CIE-LABlab(43.91, 39.60, -50.74)
CIE-LCHlch(43.91, 64.37, 307.97°)
OKLaboklab(53.31% 0.0747 -0.1439)
OKLCHoklch(53.31% 0.162 297.4)
XYZxyz(20.0855, 13.7734, 49.7346)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952BD #96BD52
analogous
#5260BD #7952BD #AE52BD
triadic
#7952BD #BD7952 #52BD79
tetradic
#7952BD #BD5260 #96BD52 #52BDAE
square
#7952BD #BD5260 #96BD52 #52BDAE
split-complementary
#7952BD #BDAE52 #60BD52
monochromatic
#41296C #5C3A98 #7952BD #9B7ECE #BEABDF

Accessibility & contrast

On white

5.59
#7952BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7952BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952BD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952BD#FFFFFF#000000##FFFFFF
##7952BD1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#69687F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7952bd;
/* rgb */ color: rgb(121, 82, 189);
/* oklch */ color: oklch(53.3% 0.162 297.4);
Tailwind
colors: {
  custom: {
    50: '#a484d1',
    500: '#7952bd',
    950: '#000000',
  },
}
SCSS
$custom: #7952bd;
$custom-light: #a484d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7952bd",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 261.869,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53308,
    "c": 0.16208,
    "h": 297.4
  },
  "luminance": 0.13774
}

Semantic roles & 50–950 ramp

primary
#7952BD
secondary
#BCCC9E
accent
#D453A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7952BD

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

Preview Lab → · Contrast checker → · Palette generator →

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