#795EE8#795EE8

#795EE8 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.200 H 287.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#795EE8
RGBrgb(121, 94, 232)
HSLhsl(252, 75%, 64%)
HSVhsv(252, 59%, 91%)
CMYKcmyk(47.8%, 59.5%, 0%, 9%)
CIE-LABlab(49.37, 44.67, -66.55)
CIE-LCHlch(49.37, 80.15, 303.87°)
OKLaboklab(58.23% 0.0601 -0.1903)
OKLCHoklch(58.23% 0.2 287.5)
XYZxyz(26.4491, 17.8954, 78.3888)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE8 #CDE85E
analogous
#5E88E8 #795EE8 #BE5EE8
triadic
#795EE8 #E8795E #5EE879
tetradic
#795EE8 #E85E88 #CDE85E #5EE8BE
square
#795EE8 #E85E88 #CDE85E #5EE8BE
split-complementary
#795EE8 #E8BE5E #88E85E
monochromatic
#3719B2 #4C28E0 #795EE8 #A694F0 #D2C9F7

Accessibility & contrast

On white

4.59
#795EE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#795EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795EE8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EE8#FFFFFF#000000##FFFFFF
##795EE81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#537E9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795ee8;
/* rgb */ color: rgb(121, 94, 232);
/* oklch */ color: oklch(58.2% 0.200 287.5);
Tailwind
colors: {
  custom: {
    50: '#a78df0',
    500: '#795ee8',
    950: '#000000',
  },
}
SCSS
$custom: #795ee8;
$custom-light: #a78df0;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee8",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 251.739,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.19957,
    "h": 287.5
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#795EE8
secondary
#E0E9B9
accent
#D70EB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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