#796CCD#796CCD

#796CCD is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.8% C 0.144 H 287.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#796CCD
RGBrgb(121, 108, 205)
HSLhsl(248, 49%, 61%)
HSVhsv(248, 47%, 80%)
CMYKcmyk(41%, 47.3%, 0%, 19.6%)
CIE-LABlab(50.92, 28.75, -48.75)
CIE-LCHlch(50.92, 56.60, 300.53°)
OKLaboklab(58.84% 0.0428 -0.138)
OKLCHoklch(58.84% 0.144 287.2)
XYZxyz(24.2641, 19.1970, 60.1727)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CCD #C0CD6C
analogous
#6C90CD #796CCD #AA6CCD
triadic
#796CCD #CD796C #6CCD79
tetradic
#796CCD #CD6C90 #C0CD6C #6CCDAA
square
#796CCD #CD6C90 #C0CD6C #6CCDAA
split-complementary
#796CCD #CDAA6C #90CD6C
monochromatic
#3D308E #5140BC #796CCD #A39ADD #CCC7EC

Accessibility & contrast

On white

4.34
#796CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#796CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CCD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CCD#FFFFFF#000000##000000
##796CCD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#618093
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796ccd;
/* rgb */ color: rgb(121, 108, 205);
/* oklch */ color: oklch(58.8% 0.144 287.2);
Tailwind
colors: {
  custom: {
    50: '#a496dd',
    500: '#796ccd',
    950: '#000000',
  },
}
SCSS
$custom: #796ccd;
$custom-light: #a496dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796ccd",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 205
  },
  "hsl": {
    "h": 248.041,
    "s": 49.239,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58836,
    "c": 0.14447,
    "h": 287.2
  },
  "luminance": 0.19198
}

Semantic roles & 50–950 ramp

primary
#796CCD
secondary
#D8DDB8
accent
#BD29A9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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