#796ACA#796ACA

#796ACA is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.143 H 288.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#796ACA
RGBrgb(121, 106, 202)
HSLhsl(249, 48%, 60%)
HSVhsv(249, 48%, 79%)
CMYKcmyk(40.1%, 47.5%, 0%, 20.8%)
CIE-LABlab(50.26, 29.09, -48.09)
CIE-LCHlch(50.26, 56.20, 301.18°)
OKLaboklab(58.29% 0.045 -0.136)
OKLCHoklch(58.29% 0.143 288.3)
XYZxyz(23.6969, 18.6365, 58.2143)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ACA #BBCA6A
analogous
#6A8BCA #796ACA #A96ACA
triadic
#796ACA #CA796A #6ACA79
tetradic
#796ACA #CA6A8B #BBCA6A #6ACAA9
square
#796ACA #CA6A8B #BBCA6A #6ACAA9
split-complementary
#796ACA #CAA96A #8BCA6A
monochromatic
#3E3189 #5341B6 #796ACA #A297DA #CAC4EA

Accessibility & contrast

On white

4.44
#796ACA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#796ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ACA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ACA#FFFFFF#000000##000000
##796ACA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACD
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#627D90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796aca;
/* rgb */ color: rgb(121, 106, 202);
/* oklch */ color: oklch(58.3% 0.143 288.3);
Tailwind
colors: {
  custom: {
    50: '#a495da',
    500: '#796aca',
    950: '#000000',
  },
}
SCSS
$custom: #796aca;
$custom-light: #a495da;
$custom-dark: #000000;
JSON
{
  "hex": "#796aca",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 202
  },
  "hsl": {
    "h": 249.375,
    "s": 47.525,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.14329,
    "h": 288.3
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#796ACA
secondary
#D5DAB6
accent
#BB2BA4
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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