#795DEC#795DEC

#795DEC is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.4% C 0.206 H 287.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#795DEC
RGBrgb(121, 93, 236)
HSLhsl(252, 79%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(48.7%, 60.6%, 0%, 7.5%)
CIE-LABlab(49.43, 46.38, -68.69)
CIE-LCHlch(49.43, 82.88, 304.03°)
OKLaboklab(58.36% 0.0609 -0.1966)
OKLCHoklch(58.36% 0.206 287.2)
XYZxyz(26.9354, 17.9486, 81.3858)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DEC #D0EC5D
analogous
#5D89EC #795DEC #C05DEC
triadic
#795DEC #EC795D #5DEC79
tetradic
#795DEC #EC5D89 #D0EC5D #5DECC0
square
#795DEC #EC5D89 #D0EC5D #5DECC0
split-complementary
#795DEC #ECC05D #89EC5D
monochromatic
#3616B9 #4C26E6 #795DEC #A694F2 #D4CBF9

Accessibility & contrast

On white

4.58
#795DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#795DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DEC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DEC#FFFFFF#000000##000000
##795DEC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#517F9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795dec;
/* rgb */ color: rgb(121, 93, 236);
/* oklch */ color: oklch(58.4% 0.206 287.2);
Tailwind
colors: {
  custom: {
    50: '#a88cf3',
    500: '#795dec',
    950: '#000000',
  },
}
SCSS
$custom: #795dec;
$custom-light: #a88cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#795dec",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 251.748,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.20584,
    "h": 287.2
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

primary
#795DEC
secondary
#E1EBBA
accent
#DB0AB2
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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