#795DEE#795DEE

#795DEE is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.5% C 0.208 H 287.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#795DEE
RGBrgb(121, 93, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(49.2%, 60.9%, 0%, 6.7%)
CIE-LABlab(49.58, 46.95, -69.58)
CIE-LCHlch(49.58, 83.94, 304.01°)
OKLaboklab(58.51% 0.0608 -0.1992)
OKLCHoklch(58.51% 0.208 287)
XYZxyz(27.2276, 18.0654, 82.9247)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DEE #D2EE5D
analogous
#5D8AEE #795DEE #C15DEE
triadic
#795DEE #EE795D #5DEE79
tetradic
#795DEE #EE5D8A #D2EE5D #5DEEC1
square
#795DEE #EE5D8A #D2EE5D #5DEEC1
split-complementary
#795DEE #EEC15D #8AEE5D
monochromatic
#3414BD #4B26E8 #795DEE #A794F4 #D5CCFA

Accessibility & contrast

On white

4.55
#795DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#795DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DEE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DEE#FFFFFF#000000##000000
##795DEE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0072EB
Tritanopia (blue-blind)
#4F7F9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795dee;
/* rgb */ color: rgb(121, 93, 238);
/* oklch */ color: oklch(58.5% 0.208 287.0);
Tailwind
colors: {
  custom: {
    50: '#a88cf4',
    500: '#795dee',
    950: '#000000',
  },
}
SCSS
$custom: #795dee;
$custom-light: #a88cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#795dee",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 251.586,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.20832,
    "h": 287
  },
  "luminance": 0.18067
}

Semantic roles & 50–950 ramp

primary
#795DEE
secondary
#E3ECBB
accent
#DD08B4
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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