#795ED5#795ED5

#795ED5 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.175 H 290.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#795ED5
RGBrgb(121, 94, 213)
HSLhsl(254, 59%, 60%)
HSVhsv(254, 56%, 84%)
CMYKcmyk(43.2%, 55.9%, 0%, 16.5%)
CIE-LABlab(48.10, 39.27, -57.83)
CIE-LCHlch(48.10, 69.90, 304.18°)
OKLaboklab(56.89% 0.0604 -0.1647)
OKLCHoklch(56.89% 0.175 290.1)
XYZxyz(23.8948, 16.8736, 64.9358)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ED5 #BAD55E
analogous
#5E7FD5 #795ED5 #B45ED5
triadic
#795ED5 #D5795E #5ED579
tetradic
#795ED5 #D55E7F #BAD55E #5ED5B4
square
#795ED5 #D55E7F #BAD55E #5ED5B4
split-complementary
#795ED5 #D5B45E #7FD55E
monochromatic
#3F2692 #5433C3 #795ED5 #A18FE2 #CABFEE

Accessibility & contrast

On white

4.80
#795ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#795ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ED5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ED5#FFFFFF#000000##FFFFFF
##795ED51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A74D9
Deuteranopia (green-blind)
#216FD2
Tritanopia (blue-blind)
#5E7890
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795ed5;
/* rgb */ color: rgb(121, 94, 213);
/* oklch */ color: oklch(56.9% 0.175 290.1);
Tailwind
colors: {
  custom: {
    50: '#a58ce3',
    500: '#795ed5',
    950: '#000000',
  },
}
SCSS
$custom: #795ed5;
$custom-light: #a58ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#795ed5",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 253.613,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.1754,
    "h": 290.1
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#795ED5
secondary
#D4DEB1
accent
#C61FA0
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #795ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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