#795DED#795DED

#795DED is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.4% C 0.207 H 287.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#795DED
RGBrgb(121, 93, 237)
HSLhsl(252, 80%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(48.9%, 60.8%, 0%, 7.1%)
CIE-LABlab(49.50, 46.67, -69.14)
CIE-LCHlch(49.50, 83.41, 304.02°)
OKLaboklab(58.44% 0.0609 -0.1979)
OKLCHoklch(58.44% 0.207 287.1)
XYZxyz(27.0811, 18.0068, 82.1531)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DED #D1ED5D
analogous
#5D89ED #795DED #C15DED
triadic
#795DED #ED795D #5DED79
tetradic
#795DED #ED5D89 #D1ED5D #5DEDC1
square
#795DED #ED5D89 #D1ED5D #5DEDC1
split-complementary
#795DED #EDC15D #89ED5D
monochromatic
#3515BB #4B26E7 #795DED #A794F3 #D4CBF9

Accessibility & contrast

On white

4.56
#795DED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#795DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DED
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DED#FFFFFF#000000##000000
##795DED1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#507F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795ded;
/* rgb */ color: rgb(121, 93, 237);
/* oklch */ color: oklch(58.4% 0.207 287.1);
Tailwind
colors: {
  custom: {
    50: '#a88cf4',
    500: '#795ded',
    950: '#000000',
  },
}
SCSS
$custom: #795ded;
$custom-light: #a88cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#795ded",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 237
  },
  "hsl": {
    "h": 251.667,
    "s": 80,
    "l": 64.706
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.20708,
    "h": 287.1
  },
  "luminance": 0.18008
}

Semantic roles & 50–950 ramp

primary
#795DED
secondary
#E2ECBA
accent
#DC09B3
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DED

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

Preview Lab → · Contrast checker → · Palette generator →

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