#795EE5#795EE5

#795EE5 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.0% C 0.196 H 287.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#795EE5
RGBrgb(121, 94, 229)
HSLhsl(252, 72%, 63%)
HSVhsv(252, 59%, 90%)
CMYKcmyk(47.2%, 59%, 0%, 10.2%)
CIE-LABlab(49.16, 43.81, -65.19)
CIE-LCHlch(49.16, 78.54, 303.90°)
OKLaboklab(58.01% 0.0602 -0.1863)
OKLCHoklch(58.01% 0.196 287.9)
XYZxyz(26.0266, 17.7264, 76.1637)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE5 #CAE55E
analogous
#5E86E5 #795EE5 #BC5EE5
triadic
#795EE5 #E5795E #5EE579
tetradic
#795EE5 #E55E86 #CAE55E #5EE5BC
square
#795EE5 #E55E86 #CAE55E #5EE5BC
split-complementary
#795EE5 #E5BC5E #86E55E
monochromatic
#391CAD #4D29DC #795EE5 #A593EE #D1C7F6

Accessibility & contrast

On white

4.62
#795EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#795EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795EE5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EE5#FFFFFF#000000##FFFFFF
##795EE51.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#557D99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795ee5;
/* rgb */ color: rgb(121, 94, 229);
/* oklch */ color: oklch(58.0% 0.196 287.9);
Tailwind
colors: {
  custom: {
    50: '#a78dee',
    500: '#795ee5',
    950: '#000000',
  },
}
SCSS
$custom: #795ee5;
$custom-light: #a78dee;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee5",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 252,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.1958,
    "h": 287.9
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#795EE5
secondary
#DEE7B7
accent
#D411AD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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