#795BBF#795BBF

#795BBF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.9% C 0.151 H 294.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#795BBF
RGBrgb(121, 91, 191)
HSLhsl(258, 44%, 55%)
HSVhsv(258, 52%, 75%)
CMYKcmyk(36.6%, 52.4%, 0%, 25.1%)
CIE-LABlab(46.05, 34.93, -48.46)
CIE-LCHlch(46.05, 59.74, 305.78°)
OKLaboklab(54.94% 0.0633 -0.1372)
OKLCHoklch(54.94% 0.151 294.8)
XYZxyz(21.0278, 15.3083, 51.1270)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BBF #A1BF5B
analogous
#5B6FBF #795BBF #AB5BBF
triadic
#795BBF #BF795B #5BBF79
tetradic
#795BBF #BF5B6F #A1BF5B #5BBFAB
square
#795BBF #BF5B6F #A1BF5B #5BBFAB
split-complementary
#795BBF #BFAB5B #6FBF5B
monochromatic
#422D73 #5B3E9F #795BBF #9D87D0 #C1B3E1

Accessibility & contrast

On white

5.17
#795BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#795BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BBF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BBF#FFFFFF#000000##FFFFFF
##795BBF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC2
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#686F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795bbf;
/* rgb */ color: rgb(121, 91, 191);
/* oklch */ color: oklch(54.9% 0.151 294.8);
Tailwind
colors: {
  custom: {
    50: '#a38ad3',
    500: '#795bbf',
    950: '#000000',
  },
}
SCSS
$custom: #795bbf;
$custom-light: #a38ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#795bbf",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 258,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.15106,
    "h": 294.8
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#795BBF
secondary
#C3D0A6
accent
#D454AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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