#795AED#795AED

#795AED is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.0% C 0.211 H 287.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#795AED
RGBrgb(121, 90, 237)
HSLhsl(253, 80%, 64%)
HSVhsv(253, 62%, 93%)
CMYKcmyk(48.9%, 62%, 0%, 7.1%)
CIE-LABlab(48.87, 48.34, -70.16)
CIE-LCHlch(48.87, 85.20, 304.57°)
OKLaboklab(57.98% 0.0639 -0.201)
OKLCHoklch(57.98% 0.211 287.6)
XYZxyz(26.8229, 17.4905, 82.0670)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AED #CEED5A
analogous
#5A85ED #795AED #C35AED
triadic
#795AED #ED795A #5AED79
tetradic
#795AED #ED5A85 #CEED5A #5AEDC3
square
#795AED #ED5A85 #CEED5A #5AEDC3
split-complementary
#795AED #EDC35A #85ED5A
monochromatic
#3714B8 #4C23E7 #795AED #A691F3 #D3C8F9

Accessibility & contrast

On white

4.67
#795AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#795AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795AED
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AED#FFFFFF#000000##FFFFFF
##795AED1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#507D9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795aed;
/* rgb */ color: rgb(121, 90, 237);
/* oklch */ color: oklch(58.0% 0.211 287.6);
Tailwind
colors: {
  custom: {
    50: '#a88af4',
    500: '#795aed',
    950: '#000000',
  },
}
SCSS
$custom: #795aed;
$custom-light: #a88af4;
$custom-dark: #000000;
JSON
{
  "hex": "#795aed",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 252.653,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57975,
    "c": 0.21087,
    "h": 287.6
  },
  "luminance": 0.17492
}

Semantic roles & 50–950 ramp

primary
#795AED
secondary
#E0EBB8
accent
#DD09B0
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795AED

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

Preview Lab → · Contrast checker → · Palette generator →

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