#7952BE#7952BE

#7952BE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.163 H 297.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7952BE
RGBrgb(121, 82, 190)
HSLhsl(262, 45%, 53%)
HSVhsv(262, 57%, 75%)
CMYKcmyk(36.3%, 56.8%, 0%, 25.5%)
CIE-LABlab(43.97, 39.87, -51.22)
CIE-LCHlch(43.97, 64.91, 307.89°)
OKLaboklab(53.37% 0.0747 -0.1453)
OKLCHoklch(53.37% 0.163 297.2)
XYZxyz(20.1944, 13.8169, 50.3082)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952BE #97BE52
analogous
#5261BE #7952BE #AF52BE
triadic
#7952BE #BE7952 #52BE79
tetradic
#7952BE #BE5261 #97BE52 #52BEAF
square
#7952BE #BE5261 #97BE52 #52BEAF
split-complementary
#7952BE #BEAF52 #61BE52
monochromatic
#41296D #5C3A99 #7952BE #9B7ECF #BEABDF

Accessibility & contrast

On white

5.58
#7952BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7952BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952BE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952BE#FFFFFF#000000##FFFFFF
##7952BE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#696880
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7952be;
/* rgb */ color: rgb(121, 82, 190);
/* oklch */ color: oklch(53.4% 0.163 297.2);
Tailwind
colors: {
  custom: {
    50: '#a484d2',
    500: '#7952be',
    950: '#000000',
  },
}
SCSS
$custom: #7952be;
$custom-light: #a484d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7952be",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 261.667,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.16334,
    "h": 297.2
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#7952BE
secondary
#BCCD9F
accent
#D553A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7952BE

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

Preview Lab → · Contrast checker → · Palette generator →

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