#795EE4#795EE4

#795EE4 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.195 H 288.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#795EE4
RGBrgb(121, 94, 228)
HSLhsl(252, 71%, 63%)
HSVhsv(252, 59%, 89%)
CMYKcmyk(46.9%, 58.8%, 0%, 10.6%)
CIE-LABlab(49.09, 43.53, -64.74)
CIE-LCHlch(49.09, 78.01, 303.92°)
OKLaboklab(57.94% 0.0602 -0.185)
OKLCHoklch(57.94% 0.195 288)
XYZxyz(25.8874, 17.6707, 75.4305)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE4 #C9E45E
analogous
#5E86E4 #795EE4 #BC5EE4
triadic
#795EE4 #E4795E #5EE479
tetradic
#795EE4 #E45E86 #C9E45E #5EE4BC
square
#795EE4 #E45E86 #C9E45E #5EE4BC
split-complementary
#795EE4 #E4BC5E #86E45E
monochromatic
#391DAB #4D2ADB #795EE4 #A592ED #D0C7F6

Accessibility & contrast

On white

4.63
#795EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#795EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795EE4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EE4#FFFFFF#000000##FFFFFF
##795EE41.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#567D98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795ee4;
/* rgb */ color: rgb(121, 94, 228);
/* oklch */ color: oklch(57.9% 0.195 288.0);
Tailwind
colors: {
  custom: {
    50: '#a78ded',
    500: '#795ee4',
    950: '#000000',
  },
}
SCSS
$custom: #795ee4;
$custom-light: #a78ded;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee4",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 252.09,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.19455,
    "h": 288
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#795EE4
secondary
#DDE7B7
accent
#D312AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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