#7952BF#7952BF

#7952BF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.165 H 297.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7952BF
RGBrgb(121, 82, 191)
HSLhsl(261, 46%, 54%)
HSVhsv(261, 57%, 75%)
CMYKcmyk(36.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(44.03, 40.13, -51.70)
CIE-LCHlch(44.03, 65.45, 307.82°)
OKLaboklab(53.44% 0.0747 -0.1467)
OKLCHoklch(53.44% 0.165 297)
XYZxyz(20.3040, 13.8608, 50.8858)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952BF #98BF52
analogous
#5261BF #7952BF #AF52BF
triadic
#7952BF #BF7952 #52BF79
tetradic
#7952BF #BF5261 #98BF52 #52BFAF
square
#7952BF #BF5261 #98BF52 #52BFAF
split-complementary
#7952BF #BFAF52 #61BF52
monochromatic
#41296E #5C399B #7952BF #9C7FD0 #BEABE0

Accessibility & contrast

On white

5.57
#7952BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7952BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952BF#FFFFFF#000000##FFFFFF
##7952BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C3
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#696980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7952bf;
/* rgb */ color: rgb(121, 82, 191);
/* oklch */ color: oklch(53.4% 0.165 297.0);
Tailwind
colors: {
  custom: {
    50: '#a484d3',
    500: '#7952bf',
    950: '#000000',
  },
}
SCSS
$custom: #7952bf;
$custom-light: #a484d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7952bf",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 261.468,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.1646,
    "h": 297
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#7952BF
secondary
#BDCE9F
accent
#D652A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7952BF

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

Preview Lab → · Contrast checker → · Palette generator →

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