#795EF7#795EF7

#795EF7 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.3% C 0.218 H 285.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#795EF7
RGBrgb(121, 94, 247)
HSLhsl(251, 91%, 67%)
HSVhsv(251, 62%, 97%)
CMYKcmyk(51%, 61.9%, 0%, 3.1%)
CIE-LABlab(50.43, 48.98, -73.22)
CIE-LCHlch(50.43, 88.09, 303.78°)
OKLaboklab(59.34% 0.0592 -0.2099)
OKLCHoklch(59.34% 0.218 285.7)
XYZxyz(28.6714, 18.7843, 90.0926)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EF7 #DCF75E
analogous
#5E90F7 #795EF7 #C55EF7
triadic
#795EF7 #F7795E #5EF779
tetradic
#795EF7 #F75E90 #DCF75E #5EF7C5
square
#795EF7 #F75E90 #DCF75E #5EF7C5
split-complementary
#795EF7 #F7C55E #90F75E
monochromatic
#2D0AD0 #4824F4 #795EF7 #AA98FA #DAD3FD

Accessibility & contrast

On white

4.41
#795EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#795EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EF7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EF7#FFFFFF#000000##000000
##795EF71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFC
Deuteranopia (green-blind)
#0073F4
Tritanopia (blue-blind)
#4883A2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795ef7;
/* rgb */ color: rgb(121, 94, 247);
/* oklch */ color: oklch(59.3% 0.218 285.7);
Tailwind
colors: {
  custom: {
    50: '#a98dfb',
    500: '#795ef7',
    950: '#000000',
  },
}
SCSS
$custom: #795ef7;
$custom-light: #a98dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#795ef7",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 250.588,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.21812,
    "h": 285.7
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#795EF7
secondary
#E8F1C0
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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