#795CE5#795CE5

#795CE5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.198 H 288.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#795CE5
RGBrgb(121, 92, 229)
HSLhsl(253, 72%, 63%)
HSVhsv(253, 60%, 90%)
CMYKcmyk(47.2%, 59.8%, 0%, 10.2%)
CIE-LABlab(48.73, 44.95, -65.89)
CIE-LCHlch(48.73, 79.76, 304.30°)
OKLaboklab(57.69% 0.0623 -0.1884)
OKLCHoklch(57.69% 0.198 288.3)
XYZxyz(25.8511, 17.3753, 76.1052)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE5 #C8E55C
analogous
#5C83E5 #795CE5 #BE5CE5
triadic
#795CE5 #E5795C #5CE579
tetradic
#795CE5 #E55C83 #C8E55C #5CE5BE
square
#795CE5 #E55C83 #C8E55C #5CE5BE
split-complementary
#795CE5 #E5BE5C #83E55C
monochromatic
#3A1BAB #4E27DD #795CE5 #A491ED #D0C6F6

Accessibility & contrast

On white

4.69
#795CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#795CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CE5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE5#FFFFFF#000000##FFFFFF
##795CE51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#557C98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ce5;
/* rgb */ color: rgb(121, 92, 229);
/* oklch */ color: oklch(57.7% 0.198 288.3);
Tailwind
colors: {
  custom: {
    50: '#a78bee',
    500: '#795ce5',
    950: '#000000',
  },
}
SCSS
$custom: #795ce5;
$custom-light: #a78bee;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce5",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 252.701,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.19843,
    "h": 288.3
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#795CE5
secondary
#DDE7B6
accent
#D511AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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