#795AC5#795AC5

#795AC5 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.2% C 0.160 H 293.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#795AC5
RGBrgb(121, 90, 197)
HSLhsl(257, 48%, 56%)
HSVhsv(257, 54%, 77%)
CMYKcmyk(38.6%, 54.3%, 0%, 22.7%)
CIE-LABlab(46.19, 37.15, -51.72)
CIE-LCHlch(46.19, 63.68, 305.69°)
OKLaboklab(55.15% 0.0648 -0.1467)
OKLCHoklch(55.15% 0.16 293.8)
XYZxyz(21.6167, 15.4080, 54.6476)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AC5 #A6C55A
analogous
#5A71C5 #795AC5 #AF5AC5
triadic
#795AC5 #C5795A #5AC579
tetradic
#795AC5 #C55A71 #A6C55A #5AC5AF
square
#795AC5 #C55A71 #A6C55A #5AC5AF
split-complementary
#795AC5 #C5AF5A #71C55A
monochromatic
#422B7A #5A3BA7 #795AC5 #9E87D5 #C3B5E5

Accessibility & contrast

On white

5.15
#795AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#795AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AC5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AC5#FFFFFF#000000##FFFFFF
##795AC51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296FC9
Deuteranopia (green-blind)
#316CC3
Tritanopia (blue-blind)
#667087
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795ac5;
/* rgb */ color: rgb(121, 90, 197);
/* oklch */ color: oklch(55.2% 0.160 293.8);
Tailwind
colors: {
  custom: {
    50: '#a489d7',
    500: '#795ac5',
    950: '#000000',
  },
}
SCSS
$custom: #795ac5;
$custom-light: #a489d7;
$custom-dark: #000000;
JSON
{
  "hex": "#795ac5",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 257.383,
    "s": 47.982,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.16042,
    "h": 293.8
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#795AC5
secondary
#C7D3A7
accent
#D850B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #795AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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