#7951BD#7951BD

#7951BD is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.164 H 297.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7951BD
RGBrgb(121, 81, 189)
HSLhsl(262, 45%, 53%)
HSVhsv(262, 57%, 74%)
CMYKcmyk(36%, 57.1%, 0%, 25.9%)
CIE-LABlab(43.69, 40.17, -51.09)
CIE-LCHlch(43.69, 64.99, 308.18°)
OKLaboklab(53.15% 0.0759 -0.1449)
OKLCHoklch(53.15% 0.164 297.7)
XYZxyz(20.0106, 13.6237, 49.7096)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7951BD #95BD51
analogous
#515FBD #7951BD #AF51BD
triadic
#7951BD #BD7951 #51BD79
tetradic
#7951BD #BD515F #95BD51 #51BDAF
square
#7951BD #BD515F #95BD51 #51BDAF
split-complementary
#7951BD #BDAF51 #5FBD51
monochromatic
#41296B #5C3997 #7951BD #9B7DCE #BDAADF

Accessibility & contrast

On white

5.64
#7951BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7951BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7951BD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7951BD#FFFFFF#000000##FFFFFF
##7951BD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C1
Deuteranopia (green-blind)
#2C66BB
Tritanopia (blue-blind)
#6A677F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7951bd;
/* rgb */ color: rgb(121, 81, 189);
/* oklch */ color: oklch(53.1% 0.164 297.7);
Tailwind
colors: {
  custom: {
    50: '#a483d1',
    500: '#7951bd',
    950: '#000000',
  },
}
SCSS
$custom: #7951bd;
$custom-light: #a483d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7951bd",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 262.222,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.16357,
    "h": 297.7
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#7951BD
secondary
#BBCC9E
accent
#D553A5
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #7951BD

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

Preview Lab → · Contrast checker → · Palette generator →

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