#795EB9#795EB9

#795EB9 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.1% C 0.138 H 295.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#795EB9
RGBrgb(121, 94, 185)
HSLhsl(258, 39%, 55%)
HSVhsv(258, 49%, 73%)
CMYKcmyk(34.6%, 49.2%, 0%, 27.5%)
CIE-LABlab(46.41, 31.54, -44.41)
CIE-LCHlch(46.41, 54.47, 305.38°)
OKLaboklab(55.09% 0.0588 -0.1253)
OKLCHoklch(55.09% 0.138 295.2)
XYZxyz(20.6426, 15.5728, 47.8078)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EB9 #9EB95E
analogous
#5E71B9 #795EB9 #A65EB9
triadic
#795EB9 #B9795E #5EB979
tetradic
#795EB9 #B95E71 #9EB95E #5EB9A6
square
#795EB9 #B95E71 #9EB95E #5EB9A6
split-complementary
#795EB9 #B9A65E #71B95E
monochromatic
#422F6D #5B4298 #795EB9 #9D89CC #C0B3DE

Accessibility & contrast

On white

5.10
#795EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#795EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EB9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EB9#FFFFFF#000000##FFFFFF
##795EB91.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#436DB7
Tritanopia (blue-blind)
#6A7083
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795eb9;
/* rgb */ color: rgb(121, 94, 185);
/* oklch */ color: oklch(55.1% 0.138 295.2);
Tailwind
colors: {
  custom: {
    50: '#a38cce',
    500: '#795eb9',
    950: '#000000',
  },
}
SCSS
$custom: #795eb9;
$custom-light: #a38cce;
$custom-dark: #000000;
JSON
{
  "hex": "#795eb9",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 185
  },
  "hsl": {
    "h": 257.802,
    "s": 39.394,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.13842,
    "h": 295.2
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#795EB9
secondary
#C1CDA6
accent
#CF59AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795EB9

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

Preview Lab → · Contrast checker → · Palette generator →

#795EB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva