#795ED0#795ED0

#795ED0 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.169 H 290.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#795ED0
RGBrgb(121, 94, 208)
HSLhsl(254, 55%, 59%)
HSVhsv(254, 55%, 82%)
CMYKcmyk(41.8%, 54.8%, 0%, 18.4%)
CIE-LABlab(47.78, 37.87, -55.48)
CIE-LCHlch(47.78, 67.17, 304.31°)
OKLaboklab(56.55% 0.0603 -0.1578)
OKLCHoklch(56.55% 0.169 290.9)
XYZxyz(23.2699, 16.6237, 61.6449)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ED0 #B5D05E
analogous
#5E7CD0 #795ED0 #B25ED0
triadic
#795ED0 #D0795E #5ED079
tetradic
#795ED0 #D05E7C #B5D05E #5ED0B2
square
#795ED0 #D05E7C #B5D05E #5ED0B2
split-complementary
#795ED0 #D0B25E #7CD05E
monochromatic
#40298B #5636BA #795ED0 #A08DDE #C8BDEC

Accessibility & contrast

On white

4.86
#795ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#795ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ED0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ED0#FFFFFF#000000##FFFFFF
##795ED01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2473D4
Deuteranopia (green-blind)
#2A6FCD
Tritanopia (blue-blind)
#61768E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795ed0;
/* rgb */ color: rgb(121, 94, 208);
/* oklch */ color: oklch(56.6% 0.169 290.9);
Tailwind
colors: {
  custom: {
    50: '#a58cdf',
    500: '#795ed0',
    950: '#000000',
  },
}
SCSS
$custom: #795ed0;
$custom-light: #a58cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#795ed0",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 208
  },
  "hsl": {
    "h": 254.211,
    "s": 54.808,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.16891,
    "h": 290.9
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#795ED0
secondary
#D1DBAF
accent
#DE4ABB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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