#795EE7#795EE7

#795EE7 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.2% C 0.198 H 287.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#795EE7
RGBrgb(121, 94, 231)
HSLhsl(252, 74%, 64%)
HSVhsv(252, 59%, 91%)
CMYKcmyk(47.6%, 59.3%, 0%, 9.4%)
CIE-LABlab(49.30, 44.38, -66.09)
CIE-LCHlch(49.30, 79.61, 303.88°)
OKLaboklab(58.15% 0.0601 -0.189)
OKLCHoklch(58.15% 0.198 287.6)
XYZxyz(26.3075, 17.8387, 77.6429)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE7 #CCE75E
analogous
#5E87E7 #795EE7 #BD5EE7
triadic
#795EE7 #E7795E #5EE779
tetradic
#795EE7 #E75E87 #CCE75E #5EE7BD
square
#795EE7 #E75E87 #CCE75E #5EE7BD
split-complementary
#795EE7 #E7BD5E #87E75E
monochromatic
#381AB0 #4D29DF #795EE7 #A593EF #D2C9F7

Accessibility & contrast

On white

4.60
#795EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#795EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795EE7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EE7#FFFFFF#000000##FFFFFF
##795EE71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#547E9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795ee7;
/* rgb */ color: rgb(121, 94, 231);
/* oklch */ color: oklch(58.2% 0.198 287.6);
Tailwind
colors: {
  custom: {
    50: '#a78def',
    500: '#795ee7',
    950: '#000000',
  },
}
SCSS
$custom: #795ee7;
$custom-light: #a78def;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee7",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 251.825,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.19832,
    "h": 287.6
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#795EE7
secondary
#DFE9B8
accent
#D60FAF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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