#795EBF#795EBF

#795EBF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.5% C 0.146 H 293.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#795EBF
RGBrgb(121, 94, 191)
HSLhsl(257, 43%, 56%)
HSVhsv(257, 51%, 75%)
CMYKcmyk(36.6%, 50.8%, 0%, 25.1%)
CIE-LABlab(46.75, 33.17, -47.35)
CIE-LCHlch(46.75, 57.81, 305.01°)
OKLaboklab(55.46% 0.0594 -0.1339)
OKLCHoklch(55.46% 0.146 293.9)
XYZxyz(21.2894, 15.8315, 51.2142)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EBF #A4BF5E
analogous
#5E73BF #795EBF #A95EBF
triadic
#795EBF #BF795E #5EBF79
tetradic
#795EBF #BF5E73 #A4BF5E #5EBFA9
square
#795EBF #BF5E73 #A4BF5E #5EBFA9
split-complementary
#795EBF #BFA95E #73BF5E
monochromatic
#422E74 #5B40A0 #795EBF #9D8AD0 #C2B6E2

Accessibility & contrast

On white

5.04
#795EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#795EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EBF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EBF#FFFFFF#000000##FFFFFF
##795EBF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#687186
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795ebf;
/* rgb */ color: rgb(121, 94, 191);
/* oklch */ color: oklch(55.5% 0.146 293.9);
Tailwind
colors: {
  custom: {
    50: '#a38cd3',
    500: '#795ebf',
    950: '#000000',
  },
}
SCSS
$custom: #795ebf;
$custom-light: #a38cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#795ebf",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 256.701,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.14647,
    "h": 293.9
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#795EBF
secondary
#C5D0A8
accent
#D355B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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