#795EBB#795EBB

#795EBB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.2% C 0.141 H 294.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#795EBB
RGBrgb(121, 94, 187)
HSLhsl(257, 41%, 55%)
HSVhsv(257, 50%, 73%)
CMYKcmyk(35.3%, 49.7%, 0%, 26.7%)
CIE-LABlab(46.52, 32.08, -45.39)
CIE-LCHlch(46.52, 55.59, 305.25°)
OKLaboklab(55.21% 0.059 -0.1282)
OKLCHoklch(55.21% 0.141 294.7)
XYZxyz(20.8552, 15.6578, 48.9276)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EBB #A0BB5E
analogous
#5E72BB #795EBB #A75EBB
triadic
#795EBB #BB795E #5EBB79
tetradic
#795EBB #BB5E72 #A0BB5E #5EBBA7
square
#795EBB #BB5E72 #A0BB5E #5EBBA7
split-complementary
#795EBB #BBA75E #72BB5E
monochromatic
#422F70 #5B419B #795EBB #9D89CD #C1B4DF

Accessibility & contrast

On white

5.08
#795EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#795EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EBB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EBB#FFFFFF#000000##FFFFFF
##795EBB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#416DB9
Tritanopia (blue-blind)
#697084
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795ebb;
/* rgb */ color: rgb(121, 94, 187);
/* oklch */ color: oklch(55.2% 0.141 294.7);
Tailwind
colors: {
  custom: {
    50: '#a38cd0',
    500: '#795ebb',
    950: '#000000',
  },
}
SCSS
$custom: #795ebb;
$custom-light: #a38cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#795ebb",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 257.419,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.14111,
    "h": 294.7
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#795EBB
secondary
#C3CEA7
accent
#D057AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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