#795EE9#795EE9

#795EE9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.3% C 0.201 H 287.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#795EE9
RGBrgb(121, 94, 233)
HSLhsl(252, 76%, 64%)
HSVhsv(252, 60%, 91%)
CMYKcmyk(48.1%, 59.7%, 0%, 8.6%)
CIE-LABlab(49.44, 44.96, -67.00)
CIE-LCHlch(49.44, 80.68, 303.86°)
OKLaboklab(58.3% 0.06 -0.1916)
OKLCHoklch(58.3% 0.201 287.4)
XYZxyz(26.5916, 17.9524, 79.1390)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE9 #CEE95E
analogous
#5E89E9 #795EE9 #BF5EE9
triadic
#795EE9 #E9795E #5EE979
tetradic
#795EE9 #E95E89 #CEE95E #5EE9BF
square
#795EE9 #E95E89 #CEE95E #5EE9BF
split-complementary
#795EE9 #E9BF5E #89E95E
monochromatic
#3719B4 #4C28E2 #795EE9 #A694F0 #D3CAF8

Accessibility & contrast

On white

4.57
#795EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##795EE9#FFFFFF#000000##000000
##795EE91.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#537E9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795ee9;
/* rgb */ color: rgb(121, 94, 233);
/* oklch */ color: oklch(58.3% 0.201 287.4);
Tailwind
colors: {
  custom: {
    50: '#a78df1',
    500: '#795ee9',
    950: '#000000',
  },
}
SCSS
$custom: #795ee9;
$custom-light: #a78df1;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee9",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 251.655,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.20082,
    "h": 287.4
  },
  "luminance": 0.17954
}

Semantic roles & 50–950 ramp

primary
#795EE9
secondary
#E0EAB9
accent
#D80DB1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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