#796CED#796CED

#796CED is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.9% C 0.187 H 283.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#796CED
RGBrgb(121, 108, 237)
HSLhsl(246, 78%, 68%)
HSVhsv(246, 54%, 93%)
CMYKcmyk(48.9%, 54.4%, 0%, 7.1%)
CIE-LABlab(52.84, 38.04, -63.74)
CIE-LCHlch(52.84, 74.22, 300.83°)
OKLaboklab(60.9% 0.045 -0.182)
OKLCHoklch(60.9% 0.187 283.9)
XYZxyz(28.5292, 20.9031, 82.6358)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CED #E0ED6C
analogous
#6C9FED #796CED #BA6CED
triadic
#796CED #ED796C #6CED79
tetradic
#796CED #ED6C9F #E0ED6C #6CEDBA
square
#796CED #ED6C9F #E0ED6C #6CEDBA
split-complementary
#796CED #EDBA6C #9FED6C
monochromatic
#2A18C6 #4735E6 #796CED #ABA3F4 #DCD9FA

Accessibility & contrast

On white

4.05
#796CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#796CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CED#FFFFFF#000000##000000
##796CED1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F82F1
Deuteranopia (green-blind)
#127AEA
Tritanopia (blue-blind)
#4E89A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796ced;
/* rgb */ color: rgb(121, 108, 237);
/* oklch */ color: oklch(60.9% 0.187 283.9);
Tailwind
colors: {
  custom: {
    50: '#a796f4',
    500: '#796ced',
    950: '#000000',
  },
}
SCSS
$custom: #796ced;
$custom-light: #a796f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796ced",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 246.047,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.18748,
    "h": 283.9
  },
  "luminance": 0.20904
}

Semantic roles & 50–950 ramp

primary
#796CED
secondary
#EAEEC6
accent
#DA0BC6
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796CED

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

Preview Lab → · Contrast checker → · Palette generator →

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