#795DC0#795DC0

#795DC0 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.3% C 0.149 H 294.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#795DC0
RGBrgb(121, 93, 192)
HSLhsl(257, 44%, 56%)
HSVhsv(257, 52%, 75%)
CMYKcmyk(37%, 51.6%, 0%, 24.7%)
CIE-LABlab(46.58, 34.03, -48.20)
CIE-LCHlch(46.58, 59.01, 305.22°)
OKLaboklab(55.34% 0.0608 -0.1364)
OKLCHoklch(55.34% 0.149 294)
XYZxyz(21.3115, 15.6990, 51.7663)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DC0 #A4C05D
analogous
#5D72C0 #795DC0 #AA5DC0
triadic
#795DC0 #C0795D #5DC079
tetradic
#795DC0 #C05D72 #A4C05D #5DC0AA
square
#795DC0 #C05D72 #A4C05D #5DC0AA
split-complementary
#795DC0 #C0AA5D #72C05D
monochromatic
#422E75 #5B3FA1 #795DC0 #9D89D1 #C2B5E2

Accessibility & contrast

On white

5.07
#795DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#795DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DC0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DC0#FFFFFF#000000##FFFFFF
##795DC01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#3B6DBE
Tritanopia (blue-blind)
#687186
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795dc0;
/* rgb */ color: rgb(121, 93, 192);
/* oklch */ color: oklch(55.3% 0.149 294.0);
Tailwind
colors: {
  custom: {
    50: '#a38bd3',
    500: '#795dc0',
    950: '#000000',
  },
}
SCSS
$custom: #795dc0;
$custom-light: #a38bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#795dc0",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 256.97,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55344,
    "c": 0.14934,
    "h": 294
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#795DC0
secondary
#C5D1A8
accent
#D454B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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