#796ADF#796ADF

#796ADF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.6% C 0.172 H 285.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#796ADF
RGBrgb(121, 106, 223)
HSLhsl(248, 65%, 65%)
HSVhsv(248, 52%, 87%)
CMYKcmyk(45.7%, 52.5%, 0%, 12.5%)
CIE-LABlab(51.50, 35.11, -58.04)
CIE-LCHlch(51.50, 67.84, 301.17°)
OKLaboklab(59.61% 0.0468 -0.1653)
OKLCHoklch(59.61% 0.172 285.8)
XYZxyz(26.3546, 19.6996, 72.2115)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ADF #D0DF6A
analogous
#6A96DF #796ADF #B36ADF
triadic
#796ADF #DF796A #6ADF79
tetradic
#796ADF #DF6A96 #D0DF6A #6ADFB3
square
#796ADF #DF6A96 #D0DF6A #6ADFB3
split-complementary
#796ADF #DFB36A #96DF6A
monochromatic
#3625AA #4C38D4 #796ADF #A69CEA #D4CFF5

Accessibility & contrast

On white

4.25
#796ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#796ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ADF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ADF#FFFFFF#000000##000000
##796ADF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#307EE3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#58839A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796adf;
/* rgb */ color: rgb(121, 106, 223);
/* oklch */ color: oklch(59.6% 0.172 285.8);
Tailwind
colors: {
  custom: {
    50: '#a695ea',
    500: '#796adf',
    950: '#000000',
  },
}
SCSS
$custom: #796adf;
$custom-light: #a695ea;
$custom-dark: #000000;
JSON
{
  "hex": "#796adf",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 223
  },
  "hsl": {
    "h": 247.692,
    "s": 64.641,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59611,
    "c": 0.17175,
    "h": 285.8
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

primary
#796ADF
secondary
#E1E7BE
accent
#CC19B5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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