#796BBE#796BBE

#796BBE is a mid, vivid violet. Relative luminance 0.183; OKLCH L 57.8% C 0.125 H 289.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#796BBE
RGBrgb(121, 107, 190)
HSLhsl(250, 39%, 58%)
HSVhsv(250, 44%, 75%)
CMYKcmyk(36.3%, 43.7%, 0%, 25.5%)
CIE-LABlab(49.85, 25.15, -41.84)
CIE-LCHlch(49.85, 48.81, 301.01°)
OKLaboklab(57.77% 0.042 -0.1178)
OKLCHoklch(57.77% 0.125 289.6)
XYZxyz(22.4346, 18.2974, 51.0550)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BBE #B0BE6B
analogous
#6B86BE #796BBE #A26BBE
triadic
#796BBE #BE796B #6BBE79
tetradic
#796BBE #BE6B86 #B0BE6B #6BBEA2
square
#796BBE #BE6B86 #B0BE6B #6BBEA2
split-complementary
#796BBE #BEA26B #86BE6B
monochromatic
#413579 #5748A4 #796BBE #A096D1 #C6C0E3

Accessibility & contrast

On white

4.51
#796BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#796BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BBE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BBE#FFFFFF#000000##000000
##796BBE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C1
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#677B8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796bbe;
/* rgb */ color: rgb(121, 107, 190);
/* oklch */ color: oklch(57.8% 0.125 289.6);
Tailwind
colors: {
  custom: {
    50: '#a295d2',
    500: '#796bbe',
    950: '#000000',
  },
}
SCSS
$custom: #796bbe;
$custom-light: #a295d2;
$custom-dark: #000000;
JSON
{
  "hex": "#796bbe",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 190
  },
  "hsl": {
    "h": 250.12,
    "s": 38.967,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.12504,
    "h": 289.6
  },
  "luminance": 0.18298
}

Semantic roles & 50–950 ramp

primary
#796BBE
secondary
#CDD3B2
accent
#CF59BB
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796BBE

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

Preview Lab → · Contrast checker → · Palette generator →

#796BBE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva