#7952BB#7952BB

#7952BB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.160 H 297.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7952BB
RGBrgb(121, 82, 187)
HSLhsl(262, 44%, 53%)
HSVhsv(262, 56%, 73%)
CMYKcmyk(35.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(43.78, 39.07, -49.78)
CIE-LCHlch(43.78, 63.28, 308.13°)
OKLaboklab(53.18% 0.0746 -0.141)
OKLCHoklch(53.18% 0.16 297.9)
XYZxyz(19.8699, 13.6871, 48.5991)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952BB #94BB52
analogous
#525FBB #7952BB #AD52BB
triadic
#7952BB #BB7952 #52BB79
tetradic
#7952BB #BB525F #94BB52 #52BBAD
square
#7952BB #BB525F #94BB52 #52BBAD
split-complementary
#7952BB #BBAD52 #5FBB52
monochromatic
#412969 #5C3B95 #7952BB #9B7ECC #BDAADE

Accessibility & contrast

On white

5.62
#7952BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7952BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952BB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952BB#FFFFFF#000000##FFFFFF
##7952BB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#3066B9
Tritanopia (blue-blind)
#6A677E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7952bb;
/* rgb */ color: rgb(121, 82, 187);
/* oklch */ color: oklch(53.2% 0.160 297.9);
Tailwind
colors: {
  custom: {
    50: '#a384d0',
    500: '#7952bb',
    950: '#000000',
  },
}
SCSS
$custom: #7952bb;
$custom-light: #a384d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7952bb",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 262.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.15956,
    "h": 297.9
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#7952BB
secondary
#BACB9E
accent
#D354A4
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7952BB

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

Preview Lab → · Contrast checker → · Palette generator →

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