#795BCD#795BCD

#795BCD is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.169 H 292.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#795BCD
RGBrgb(121, 91, 205)
HSLhsl(256, 53%, 58%)
HSVhsv(256, 56%, 80%)
CMYKcmyk(41%, 55.6%, 0%, 19.6%)
CIE-LABlab(46.91, 38.77, -55.16)
CIE-LCHlch(46.91, 67.42, 305.10°)
OKLaboklab(55.85% 0.0638 -0.1568)
OKLCHoklch(55.85% 0.169 292.1)
XYZxyz(22.6427, 15.9543, 59.6323)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BCD #AFCD5B
analogous
#5B76CD #795BCD #B25BCD
triadic
#795BCD #CD795B #5BCD79
tetradic
#795BCD #CD5B76 #AFCD5B #5BCDB2
square
#795BCD #CD5B76 #AFCD5B #5BCDB2
split-complementary
#795BCD #CDB25B #76CD5B
monochromatic
#412985 #5837B4 #795BCD #9F8ADB #C6B9EA

Accessibility & contrast

On white

5.01
#795BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#795BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BCD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BCD#FFFFFF#000000##FFFFFF
##795BCD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#286DCA
Tritanopia (blue-blind)
#62738B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795bcd;
/* rgb */ color: rgb(121, 91, 205);
/* oklch */ color: oklch(55.9% 0.169 292.1);
Tailwind
colors: {
  custom: {
    50: '#a58add',
    500: '#795bcd',
    950: '#000000',
  },
}
SCSS
$custom: #795bcd;
$custom-light: #a58add;
$custom-dark: #000000;
JSON
{
  "hex": "#795bcd",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 255.789,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.16933,
    "h": 292.1
  },
  "luminance": 0.15955
}

Semantic roles & 50–950 ramp

primary
#795BCD
secondary
#CDD9AB
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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