#795FBE#795FBE

#795FBE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.144 H 293.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#795FBE
RGBrgb(121, 95, 190)
HSLhsl(256, 42%, 56%)
HSVhsv(256, 50%, 75%)
CMYKcmyk(36.3%, 50%, 0%, 25.5%)
CIE-LABlab(46.93, 32.30, -46.48)
CIE-LCHlch(46.93, 56.61, 304.80°)
OKLaboklab(55.57% 0.058 -0.1314)
OKLCHoklch(55.57% 0.144 293.8)
XYZxyz(21.2692, 15.9666, 50.6665)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FBE #A4BE5F
analogous
#5F74BE #795FBE #A85FBE
triadic
#795FBE #BE795F #5FBE79
tetradic
#795FBE #BE5F74 #A4BE5F #5FBEA8
square
#795FBE #BE5F74 #A4BE5F #5FBEA8
split-complementary
#795FBE #BEA85F #74BE5F
monochromatic
#422F74 #5B419F #795FBE #9D8BD0 #C2B6E1

Accessibility & contrast

On white

5.01
#795FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#795FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FBE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FBE#FFFFFF#000000##FFFFFF
##795FBE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#687286
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795fbe;
/* rgb */ color: rgb(121, 95, 190);
/* oklch */ color: oklch(55.6% 0.144 293.8);
Tailwind
colors: {
  custom: {
    50: '#a38dd2',
    500: '#795fbe',
    950: '#000000',
  },
}
SCSS
$custom: #795fbe;
$custom-light: #a38dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#795fbe",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 256.421,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.14359,
    "h": 293.8
  },
  "luminance": 0.15967
}

Semantic roles & 50–950 ramp

primary
#795FBE
secondary
#C5D0A9
accent
#D256B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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