#795BBC#795BBC

#795BBC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.7% C 0.147 H 295.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#795BBC
RGBrgb(121, 91, 188)
HSLhsl(259, 42%, 55%)
HSVhsv(259, 52%, 74%)
CMYKcmyk(35.6%, 51.6%, 0%, 26.3%)
CIE-LABlab(45.88, 34.12, -47.00)
CIE-LCHlch(45.88, 58.08, 305.98°)
OKLaboklab(54.75% 0.0631 -0.1329)
OKLCHoklch(54.75% 0.147 295.4)
XYZxyz(20.7010, 15.1776, 49.4061)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BBC #9EBC5B
analogous
#5B6EBC #795BBC #AA5BBC
triadic
#795BBC #BC795B #5BBC79
tetradic
#795BBC #BC5B6E #9EBC5B #5BBCAA
square
#795BBC #BC5B6E #9EBC5B #5BBCAA
split-complementary
#795BBC #BCAA5B #6EBC5B
monochromatic
#422D6F #5B3F9B #795BBC #9D86CE #C0B2E0

Accessibility & contrast

On white

5.20
#795BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795BBC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BBC#FFFFFF#000000##FFFFFF
##795BBC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#696E83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795bbc;
/* rgb */ color: rgb(121, 91, 188);
/* oklch */ color: oklch(54.7% 0.147 295.4);
Tailwind
colors: {
  custom: {
    50: '#a38ad1',
    500: '#795bbc',
    950: '#000000',
  },
}
SCSS
$custom: #795bbc;
$custom-light: #a38ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#795bbc",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 258.557,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.14711,
    "h": 295.4
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#795BBC
secondary
#C1CEA5
accent
#D256AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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