#795DE5#795DE5

#795DE5 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.197 H 288.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#795DE5
RGBrgb(121, 93, 229)
HSLhsl(252, 72%, 63%)
HSVhsv(252, 59%, 90%)
CMYKcmyk(47.2%, 59.4%, 0%, 10.2%)
CIE-LABlab(48.95, 44.38, -65.54)
CIE-LCHlch(48.95, 79.15, 304.10°)
OKLaboklab(57.85% 0.0613 -0.1874)
OKLCHoklch(57.85% 0.197 288.1)
XYZxyz(25.9383, 17.5497, 76.1343)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DE5 #C9E55D
analogous
#5D85E5 #795DE5 #BD5DE5
triadic
#795DE5 #E5795D #5DE579
tetradic
#795DE5 #E55D85 #C9E55D #5DE5BD
square
#795DE5 #E55D85 #C9E55D #5DE5BD
split-complementary
#795DE5 #E5BD5D #85E55D
monochromatic
#391CAC #4D28DD #795DE5 #A592ED #D0C6F6

Accessibility & contrast

On white

4.66
#795DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#795DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795DE5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DE5#FFFFFF#000000##FFFFFF
##795DE51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#557C98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795de5;
/* rgb */ color: rgb(121, 93, 229);
/* oklch */ color: oklch(57.9% 0.197 288.1);
Tailwind
colors: {
  custom: {
    50: '#a78cee',
    500: '#795de5',
    950: '#000000',
  },
}
SCSS
$custom: #795de5;
$custom-light: #a78cee;
$custom-dark: #000000;
JSON
{
  "hex": "#795de5",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 252.353,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.19712,
    "h": 288.1
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#795DE5
secondary
#DDE7B7
accent
#D411AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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