#795AC3#795AC3

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

Color values

HEX#795AC3
RGBrgb(121, 90, 195)
HSLhsl(258, 47%, 56%)
HSVhsv(258, 54%, 76%)
CMYKcmyk(37.9%, 53.8%, 0%, 23.5%)
CIE-LABlab(46.07, 36.60, -50.76)
CIE-LCHlch(46.07, 62.58, 305.80°)
OKLaboklab(55.02% 0.0648 -0.1439)
OKLCHoklch(55.02% 0.158 294.2)
XYZxyz(21.3891, 15.3169, 53.4487)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AC3 #A4C35A
analogous
#5A6FC3 #795AC3 #AD5AC3
triadic
#795AC3 #C3795A #5AC379
tetradic
#795AC3 #C35A6F #A4C35A #5AC3AD
square
#795AC3 #C35A6F #A4C35A #5AC3AD
split-complementary
#795AC3 #C3AD5A #6FC35A
monochromatic
#422B77 #5B3CA4 #795AC3 #9D87D3 #C2B4E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795AC3#FFFFFF#000000##FFFFFF
##795AC31.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)
#2C6EC7
Deuteranopia (green-blind)
#346BC1
Tritanopia (blue-blind)
#677086
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795ac3;
/* rgb */ color: rgb(121, 90, 195);
/* oklch */ color: oklch(55.0% 0.158 294.2);
Tailwind
colors: {
  custom: {
    50: '#a489d6',
    500: '#795ac3',
    950: '#000000',
  },
}
SCSS
$custom: #795ac3;
$custom-light: #a489d6;
$custom-dark: #000000;
JSON
{
  "hex": "#795ac3",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 257.714,
    "s": 46.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.15782,
    "h": 294.2
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#795AC3
secondary
#C5D2A7
accent
#D651AF
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #795AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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