#795FBC#795FBC

#795FBC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.4% C 0.141 H 294.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#795FBC
RGBrgb(121, 95, 188)
HSLhsl(257, 41%, 55%)
HSVhsv(257, 49%, 74%)
CMYKcmyk(35.6%, 49.5%, 0%, 26.3%)
CIE-LABlab(46.82, 31.76, -45.50)
CIE-LCHlch(46.82, 55.49, 304.91°)
OKLaboklab(55.45% 0.0578 -0.1285)
OKLCHoklch(55.45% 0.141 294.2)
XYZxyz(21.0521, 15.8798, 49.5232)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FBC #A2BC5F
analogous
#5F73BC #795FBC #A75FBC
triadic
#795FBC #BC795F #5FBC79
tetradic
#795FBC #BC5F73 #A2BC5F #5FBCA7
square
#795FBC #BC5F73 #A2BC5F #5FBCA7
split-complementary
#795FBC #BCA75F #73BC5F
monochromatic
#422F71 #5B419C #795FBC #9D8ACE #C1B5E0

Accessibility & contrast

On white

5.03
#795FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#795FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FBC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FBC#FFFFFF#000000##FFFFFF
##795FBC1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#426DBA
Tritanopia (blue-blind)
#697185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795fbc;
/* rgb */ color: rgb(121, 95, 188);
/* oklch */ color: oklch(55.4% 0.141 294.2);
Tailwind
colors: {
  custom: {
    50: '#a38dd1',
    500: '#795fbc',
    950: '#000000',
  },
}
SCSS
$custom: #795fbc;
$custom-light: #a38dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#795fbc",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 256.774,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.1409,
    "h": 294.2
  },
  "luminance": 0.1588
}

Semantic roles & 50–950 ramp

primary
#795FBC
secondary
#C4CFA8
accent
#D157AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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