#796DDE#796DDE

#796DDE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.1% C 0.166 H 285.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#796DDE
RGBrgb(121, 109, 222)
HSLhsl(246, 63%, 65%)
HSVhsv(246, 51%, 87%)
CMYKcmyk(45.5%, 50.9%, 0%, 12.9%)
CIE-LABlab(52.15, 33.05, -56.43)
CIE-LCHlch(52.15, 65.40, 300.36°)
OKLaboklab(60.08% 0.0432 -0.1605)
OKLCHoklch(60.08% 0.166 285.1)
XYZxyz(26.5348, 20.2750, 71.6084)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DDE #D2DE6D
analogous
#6D99DE #796DDE #B26DDE
triadic
#796DDE #DE796D #6DDE79
tetradic
#796DDE #DE6D99 #D2DE6D #6DDEB2
square
#796DDE #DE6D99 #D2DE6D #6DDEB2
split-complementary
#796DDE #DEB26D #99DE6D
monochromatic
#3426AA #4B3BD3 #796DDE #A79FE9 #D5D1F5

Accessibility & contrast

On white

4.15
#796DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#796DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DDE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DDE#FFFFFF#000000##000000
##796DDE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E2
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#58859B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796dde;
/* rgb */ color: rgb(121, 109, 222);
/* oklch */ color: oklch(60.1% 0.166 285.1);
Tailwind
colors: {
  custom: {
    50: '#a597e9',
    500: '#796dde',
    950: '#000000',
  },
}
SCSS
$custom: #796dde;
$custom-light: #a597e9;
$custom-dark: #000000;
JSON
{
  "hex": "#796dde",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 246.372,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.16623,
    "h": 285.1
  },
  "luminance": 0.20276
}

Semantic roles & 50–950 ramp

primary
#796DDE
secondary
#E3E7C0
accent
#CB1BB8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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