#796ACE#796ACE

#796ACE is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.149 H 287.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#796ACE
RGBrgb(121, 106, 206)
HSLhsl(249, 51%, 61%)
HSVhsv(249, 49%, 81%)
CMYKcmyk(41.3%, 48.5%, 0%, 19.2%)
CIE-LABlab(50.49, 30.23, -50.01)
CIE-LCHlch(50.49, 58.43, 301.15°)
OKLaboklab(58.53% 0.0454 -0.1417)
OKLCHoklch(58.53% 0.149 287.8)
XYZxyz(24.1766, 18.8284, 60.7410)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ACE #BFCE6A
analogous
#6A8DCE #796ACE #AB6ACE
triadic
#796ACE #CE796A #6ACE79
tetradic
#796ACE #CE6A8D #BFCE6A #6ACEAB
square
#796ACE #CE6A8D #BFCE6A #6ACEAB
split-complementary
#796ACE #CEAB6A #8DCE6A
monochromatic
#3D2F8F #513EBD #796ACE #A298DD #CCC6EC

Accessibility & contrast

On white

4.41
#796ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#796ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ACE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ACE#FFFFFF#000000##000000
##796ACE1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD2
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#617E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796ace;
/* rgb */ color: rgb(121, 106, 206);
/* oklch */ color: oklch(58.5% 0.149 287.8);
Tailwind
colors: {
  custom: {
    50: '#a495dd',
    500: '#796ace',
    950: '#000000',
  },
}
SCSS
$custom: #796ace;
$custom-light: #a495dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796ace",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 249,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5853,
    "c": 0.14879,
    "h": 287.8
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#796ACE
secondary
#D7DDB7
accent
#BE28A7
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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