#795CD6#795CD6

#795CD6 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.179 H 290.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#795CD6
RGBrgb(121, 92, 214)
HSLhsl(254, 60%, 60%)
HSVhsv(254, 57%, 84%)
CMYKcmyk(43.5%, 57%, 0%, 16.1%)
CIE-LABlab(47.72, 40.71, -59.02)
CIE-LCHlch(47.72, 71.69, 304.60°)
OKLaboklab(56.63% 0.0627 -0.1682)
OKLCHoklch(56.63% 0.179 290.5)
XYZxyz(23.8465, 16.5735, 65.5478)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CD6 #B9D65C
analogous
#5C7CD6 #795CD6 #B65CD6
triadic
#795CD6 #D6795C #5CD679
tetradic
#795CD6 #D65C7C #B9D65C #5CD6B6
square
#795CD6 #D65C7C #B9D65C #5CD6B6
split-complementary
#795CD6 #D6B65C #7CD65C
monochromatic
#3F2593 #5431C4 #795CD6 #A18DE2 #C9BEEF

Accessibility & contrast

On white

4.87
#795CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#795CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CD6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CD6#FFFFFF#000000##FFFFFF
##795CD61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D73DA
Deuteranopia (green-blind)
#186ED3
Tritanopia (blue-blind)
#5E7790
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795cd6;
/* rgb */ color: rgb(121, 92, 214);
/* oklch */ color: oklch(56.6% 0.179 290.5);
Tailwind
colors: {
  custom: {
    50: '#a58be3',
    500: '#795cd6',
    950: '#000000',
  },
}
SCSS
$custom: #795cd6;
$custom-light: #a58be3;
$custom-dark: #000000;
JSON
{
  "hex": "#795cd6",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 254.262,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.17948,
    "h": 290.5
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#795CD6
secondary
#D3DEAF
accent
#E345BD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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