#795BBD#795BBD

#795BBD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.8% C 0.148 H 295.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#795BBD
RGBrgb(121, 91, 189)
HSLhsl(258, 43%, 55%)
HSVhsv(258, 52%, 74%)
CMYKcmyk(36%, 51.9%, 0%, 25.9%)
CIE-LABlab(45.94, 34.39, -47.49)
CIE-LCHlch(45.94, 58.63, 305.91°)
OKLaboklab(54.81% 0.0631 -0.1343)
OKLCHoklch(54.81% 0.148 295.2)
XYZxyz(20.8092, 15.2209, 49.9758)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BBD #9FBD5B
analogous
#5B6EBD #795BBD #AA5BBD
triadic
#795BBD #BD795B #5BBD79
tetradic
#795BBD #BD5B6E #9FBD5B #5BBDAA
square
#795BBD #BD5B6E #9FBD5B #5BBDAA
split-complementary
#795BBD #BDAA5B #6EBD5B
monochromatic
#422D70 #5B3F9C #795BBD #9D87CF #C0B2E0

Accessibility & contrast

On white

5.19
#795BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#795BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BBD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BBD#FFFFFF#000000##FFFFFF
##795BBD1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#696F83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795bbd;
/* rgb */ color: rgb(121, 91, 189);
/* oklch */ color: oklch(54.8% 0.148 295.2);
Tailwind
colors: {
  custom: {
    50: '#a38ad1',
    500: '#795bbd',
    950: '#000000',
  },
}
SCSS
$custom: #795bbd;
$custom-light: #a38ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#795bbd",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 258.367,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.14842,
    "h": 295.2
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#795BBD
secondary
#C2CFA5
accent
#D255AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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