#795AEE#795AEE

#795AEE is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.1% C 0.212 H 287.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#795AEE
RGBrgb(121, 90, 238)
HSLhsl(253, 81%, 64%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(49.2%, 62.2%, 0%, 6.7%)
CIE-LABlab(48.94, 48.63, -70.61)
CIE-LCHlch(48.94, 85.73, 304.55°)
OKLaboklab(58.05% 0.0638 -0.2023)
OKLCHoklch(58.05% 0.212 287.5)
XYZxyz(26.9694, 17.5491, 82.8386)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AEE #CFEE5A
analogous
#5A85EE #795AEE #C35AEE
triadic
#795AEE #EE795A #5AEE79
tetradic
#795AEE #EE5A85 #CFEE5A #5AEEC3
square
#795AEE #EE5A85 #CFEE5A #5AEEC3
split-complementary
#795AEE #EEC35A #85EE5A
monochromatic
#3613BA #4C23E8 #795AEE #A691F4 #D3C9F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795AEE#FFFFFF#000000##FFFFFF
##795AEE1.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)
#0078F3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#507D9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795aee;
/* rgb */ color: rgb(121, 90, 238);
/* oklch */ color: oklch(58.1% 0.212 287.5);
Tailwind
colors: {
  custom: {
    50: '#a88af4',
    500: '#795aee',
    950: '#000000',
  },
}
SCSS
$custom: #795aee;
$custom-light: #a88af4;
$custom-dark: #000000;
JSON
{
  "hex": "#795aee",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 238
  },
  "hsl": {
    "h": 252.568,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.21209,
    "h": 287.5
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#795AEE
secondary
#E1ECB8
accent
#DE08B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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