#795BC0#795BC0

#795BC0 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.152 H 294.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#795BC0
RGBrgb(121, 91, 192)
HSLhsl(258, 44%, 55%)
HSVhsv(258, 53%, 75%)
CMYKcmyk(37%, 52.6%, 0%, 24.7%)
CIE-LABlab(46.11, 35.20, -48.95)
CIE-LCHlch(46.11, 60.29, 305.72°)
OKLaboklab(55% 0.0633 -0.1386)
OKLCHoklch(55% 0.152 294.6)
XYZxyz(21.1382, 15.3525, 51.7086)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BC0 #A2C05B
analogous
#5B6FC0 #795BC0 #AB5BC0
triadic
#795BC0 #C0795B #5BC079
tetradic
#795BC0 #C05B6F #A2C05B #5BC0AB
square
#795BC0 #C05B6F #A2C05B #5BC0AB
split-complementary
#795BC0 #C0AB5B #6FC05B
monochromatic
#422D74 #5B3EA0 #795BC0 #9D87D1 #C1B3E2

Accessibility & contrast

On white

5.16
#795BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#795BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BC0
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BC0#FFFFFF#000000##FFFFFF
##795BC01.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#386CBE
Tritanopia (blue-blind)
#686F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795bc0;
/* rgb */ color: rgb(121, 91, 192);
/* oklch */ color: oklch(55.0% 0.152 294.6);
Tailwind
colors: {
  custom: {
    50: '#a38ad3',
    500: '#795bc0',
    950: '#000000',
  },
}
SCSS
$custom: #795bc0;
$custom-light: #a38ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#795bc0",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 257.822,
    "s": 44.493,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54999,
    "c": 0.15238,
    "h": 294.6
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

primary
#795BC0
secondary
#C4D0A6
accent
#D454AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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