#796DDF#796DDF

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

Color values

HEX#796DDF
RGBrgb(121, 109, 223)
HSLhsl(246, 64%, 65%)
HSVhsv(246, 51%, 87%)
CMYKcmyk(45.7%, 51.1%, 0%, 12.5%)
CIE-LABlab(52.21, 33.34, -56.90)
CIE-LCHlch(52.21, 65.95, 300.37°)
OKLaboklab(60.14% 0.0433 -0.1619)
OKLCHoklch(60.14% 0.168 285)
XYZxyz(26.6692, 20.3288, 72.3164)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DDF #D3DF6D
analogous
#6D9ADF #796DDF #B26DDF
triadic
#796DDF #DF796D #6DDF79
tetradic
#796DDF #DF6D9A #D3DF6D #6DDFB2
square
#796DDF #DF6D9A #D3DF6D #6DDFB2
split-complementary
#796DDF #DFB26D #9ADF6D
monochromatic
#3426AC #4B3BD4 #796DDF #A79FEA #D5D1F5

Accessibility & contrast

On white

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

On black

5.07
#796DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DDF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DDF#FFFFFF#000000##000000
##796DDF1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#3379DC
Tritanopia (blue-blind)
#57859C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796ddf;
/* rgb */ color: rgb(121, 109, 223);
/* oklch */ color: oklch(60.1% 0.168 285.0);
Tailwind
colors: {
  custom: {
    50: '#a697ea',
    500: '#796ddf',
    950: '#000000',
  },
}
SCSS
$custom: #796ddf;
$custom-light: #a697ea;
$custom-dark: #000000;
JSON
{
  "hex": "#796ddf",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 246.316,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.16757,
    "h": 285
  },
  "luminance": 0.2033
}

Semantic roles & 50–950 ramp

primary
#796DDF
secondary
#E3E7C1
accent
#CC1AB9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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