#796EDE#796EDE

#796EDE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.3% C 0.165 H 284.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#796EDE
RGBrgb(121, 110, 222)
HSLhsl(246, 63%, 65%)
HSVhsv(246, 50%, 87%)
CMYKcmyk(45.5%, 50.5%, 0%, 12.9%)
CIE-LABlab(52.39, 32.46, -56.05)
CIE-LCHlch(52.39, 64.77, 300.07°)
OKLaboklab(60.26% 0.042 -0.1594)
OKLCHoklch(60.26% 0.165 284.8)
XYZxyz(26.6420, 20.4896, 71.6442)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EDE #D3DE6E
analogous
#6E9BDE #796EDE #B16EDE
triadic
#796EDE #DE796E #6EDE79
tetradic
#796EDE #DE6E9B #D3DE6E #6EDEB1
square
#796EDE #DE6E9B #D3DE6E #6EDEB1
split-complementary
#796EDE #DEB16E #9BDE6E
monochromatic
#3427AB #4B3CD3 #796EDE #A7A0E9 #D5D2F5

Accessibility & contrast

On white

4.12
#796EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#796EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EDE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EDE#FFFFFF#000000##000000
##796EDE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B80E2
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#58869C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796ede;
/* rgb */ color: rgb(121, 110, 222);
/* oklch */ color: oklch(60.3% 0.165 284.8);
Tailwind
colors: {
  custom: {
    50: '#a597e9',
    500: '#796ede',
    950: '#000000',
  },
}
SCSS
$custom: #796ede;
$custom-light: #a597e9;
$custom-dark: #000000;
JSON
{
  "hex": "#796ede",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 222
  },
  "hsl": {
    "h": 245.893,
    "s": 62.921,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.16482,
    "h": 284.8
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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