#795DE7#795DE7

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

Color values

HEX#795DE7
RGBrgb(121, 93, 231)
HSLhsl(252, 74%, 64%)
HSVhsv(252, 60%, 91%)
CMYKcmyk(47.6%, 59.7%, 0%, 9.4%)
CIE-LABlab(49.08, 44.95, -66.44)
CIE-LCHlch(49.08, 80.22, 304.08°)
OKLaboklab(58% 0.0612 -0.19)
OKLCHoklch(58% 0.2 287.8)
XYZxyz(26.2191, 17.6620, 77.6134)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DE7 #CBE75D
analogous
#5D86E7 #795DE7 #BE5DE7
triadic
#795DE7 #E7795D #5DE779
tetradic
#795DE7 #E75D86 #CBE75D #5DE7BE
square
#795DE7 #E75D86 #CBE75D #5DE7BE
split-complementary
#795DE7 #E7BE5D #86E75D
monochromatic
#381AB0 #4D28DF #795DE7 #A592EF #D1C8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795DE7#FFFFFF#000000##FFFFFF
##795DE71.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)
#0078EB
Deuteranopia (green-blind)
#0071E4
Tritanopia (blue-blind)
#547D99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795de7;
/* rgb */ color: rgb(121, 93, 231);
/* oklch */ color: oklch(58.0% 0.200 287.8);
Tailwind
colors: {
  custom: {
    50: '#a78cef',
    500: '#795de7',
    950: '#000000',
  },
}
SCSS
$custom: #795de7;
$custom-light: #a78cef;
$custom-dark: #000000;
JSON
{
  "hex": "#795de7",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 252.174,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.19962,
    "h": 287.8
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#795DE7
secondary
#DEE8B7
accent
#D60FAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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