#795EE6#795EE6

#795EE6 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.197 H 287.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#795EE6
RGBrgb(121, 94, 230)
HSLhsl(252, 73%, 64%)
HSVhsv(252, 59%, 90%)
CMYKcmyk(47.4%, 59.1%, 0%, 9.8%)
CIE-LABlab(49.23, 44.10, -65.64)
CIE-LCHlch(49.23, 79.08, 303.89°)
OKLaboklab(58.08% 0.0602 -0.1877)
OKLCHoklch(58.08% 0.197 287.8)
XYZxyz(26.1667, 17.7824, 76.9012)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE6 #CBE65E
analogous
#5E87E6 #795EE6 #BD5EE6
triadic
#795EE6 #E6795E #5EE679
tetradic
#795EE6 #E65E87 #CBE65E #5EE6BD
square
#795EE6 #E65E87 #CBE65E #5EE6BD
split-complementary
#795EE6 #E6BD5E #87E65E
monochromatic
#381BAF #4D29DE #795EE6 #A593EE #D1C8F6

Accessibility & contrast

On white

4.61
#795EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#795EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795EE6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EE6#FFFFFF#000000##FFFFFF
##795EE61.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795ee6;
/* rgb */ color: rgb(121, 94, 230);
/* oklch */ color: oklch(58.1% 0.197 287.8);
Tailwind
colors: {
  custom: {
    50: '#a78def',
    500: '#795ee6',
    950: '#000000',
  },
}
SCSS
$custom: #795ee6;
$custom-light: #a78def;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee6",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 251.912,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58082,
    "c": 0.19707,
    "h": 287.8
  },
  "luminance": 0.17784
}

Semantic roles & 50–950 ramp

primary
#795EE6
secondary
#DEE8B8
accent
#D510AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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