#795EC0#795EC0

#795EC0 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.5% C 0.148 H 293.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#795EC0
RGBrgb(121, 94, 192)
HSLhsl(257, 44%, 56%)
HSVhsv(257, 51%, 75%)
CMYKcmyk(37%, 51%, 0%, 24.7%)
CIE-LABlab(46.81, 33.44, -47.83)
CIE-LCHlch(46.81, 58.36, 304.96°)
OKLaboklab(55.52% 0.0595 -0.1353)
OKLCHoklch(55.52% 0.148 293.7)
XYZxyz(21.3998, 15.8757, 51.7958)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EC0 #A5C05E
analogous
#5E74C0 #795EC0 #AA5EC0
triadic
#795EC0 #C0795E #5EC079
tetradic
#795EC0 #C05E74 #A5C05E #5EC0AA
square
#795EC0 #C05E74 #A5C05E #5EC0AA
split-complementary
#795EC0 #C0AA5E #74C05E
monochromatic
#422E76 #5A3FA2 #795EC0 #9E8AD1 #C2B6E2

Accessibility & contrast

On white

5.03
#795EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#795EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EC0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EC0#FFFFFF#000000##FFFFFF
##795EC01.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C3
Deuteranopia (green-blind)
#3D6DBE
Tritanopia (blue-blind)
#687286
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795ec0;
/* rgb */ color: rgb(121, 94, 192);
/* oklch */ color: oklch(55.5% 0.148 293.7);
Tailwind
colors: {
  custom: {
    50: '#a38cd3',
    500: '#795ec0',
    950: '#000000',
  },
}
SCSS
$custom: #795ec0;
$custom-light: #a38cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#795ec0",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 256.531,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55518,
    "c": 0.14781,
    "h": 293.7
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#795EC0
secondary
#C6D1A9
accent
#D354B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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