#796DCD#796DCD

#796DCD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.143 H 286.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#796DCD
RGBrgb(121, 109, 205)
HSLhsl(248, 49%, 62%)
HSVhsv(248, 47%, 80%)
CMYKcmyk(41%, 46.8%, 0%, 19.6%)
CIE-LABlab(51.16, 28.15, -48.36)
CIE-LCHlch(51.16, 55.96, 300.21°)
OKLaboklab(59.02% 0.0415 -0.1368)
OKLCHoklch(59.02% 0.143 286.9)
XYZxyz(24.3701, 19.4091, 60.2081)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DCD #C1CD6D
analogous
#6D91CD #796DCD #A96DCD
triadic
#796DCD #CD796D #6DCD79
tetradic
#796DCD #CD6D91 #C1CD6D #6DCDA9
square
#796DCD #CD6D91 #C1CD6D #6DCDA9
split-complementary
#796DCD #CDA96D #91CD6D
monochromatic
#3D318F #5040BC #796DCD #A39BDD #CDC8EC

Accessibility & contrast

On white

4.30
#796DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#796DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DCD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DCD#FFFFFF#000000##000000
##796DCD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#4777CB
Tritanopia (blue-blind)
#618093
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796dcd;
/* rgb */ color: rgb(121, 109, 205);
/* oklch */ color: oklch(59.0% 0.143 286.9);
Tailwind
colors: {
  custom: {
    50: '#a497dd',
    500: '#796dcd',
    950: '#000000',
  },
}
SCSS
$custom: #796dcd;
$custom-light: #a497dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796dcd",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 247.5,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59021,
    "c": 0.14301,
    "h": 286.9
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#796DCD
secondary
#D8DDB9
accent
#BC29AA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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