#795AC8#795AC8

#795AC8 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.164 H 293.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#795AC8
RGBrgb(121, 90, 200)
HSLhsl(257, 50%, 57%)
HSVhsv(257, 55%, 78%)
CMYKcmyk(39.5%, 55%, 0%, 21.6%)
CIE-LABlab(46.37, 37.97, -53.15)
CIE-LCHlch(46.37, 65.32, 305.54°)
OKLaboklab(55.35% 0.0649 -0.1509)
OKLCHoklch(55.35% 0.164 293.3)
XYZxyz(21.9639, 15.5469, 56.4760)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AC8 #A9C85A
analogous
#5A72C8 #795AC8 #B05AC8
triadic
#795AC8 #C8795A #5AC879
tetradic
#795AC8 #C85A72 #A9C85A #5AC8B0
square
#795AC8 #C85A72 #A9C85A #5AC8B0
split-complementary
#795AC8 #C8B05A #72C85A
monochromatic
#422A7E #5939AC #795AC8 #9E88D7 #C4B6E7

Accessibility & contrast

On white

5.11
#795AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#795AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AC8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AC8#FFFFFF#000000##FFFFFF
##795AC81.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#2D6CC6
Tritanopia (blue-blind)
#657188
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795ac8;
/* rgb */ color: rgb(121, 90, 200);
/* oklch */ color: oklch(55.4% 0.164 293.3);
Tailwind
colors: {
  custom: {
    50: '#a489d9',
    500: '#795ac8',
    950: '#000000',
  },
}
SCSS
$custom: #795ac8;
$custom-light: #a489d9;
$custom-dark: #000000;
JSON
{
  "hex": "#795ac8",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 256.909,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5535,
    "c": 0.16432,
    "h": 293.3
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#795AC8
secondary
#C9D5A8
accent
#DA4EB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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