#795DF4#795DF4

#795DF4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.216 H 286.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#795DF4
RGBrgb(121, 93, 244)
HSLhsl(251, 87%, 66%)
HSVhsv(251, 62%, 96%)
CMYKcmyk(50.4%, 61.9%, 0%, 4.3%)
CIE-LABlab(50.01, 48.67, -72.24)
CIE-LCHlch(50.01, 87.11, 303.97°)
OKLaboklab(58.96% 0.0604 -0.2071)
OKLCHoklch(58.96% 0.216 286.3)
XYZxyz(28.1238, 18.4239, 87.6447)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DF4 #D8F45D
analogous
#5D8CF4 #795DF4 #C45DF4
triadic
#795DF4 #F4795D #5DF479
tetradic
#795DF4 #F45D8C #D8F45D #5DF4C4
square
#795DF4 #F45D8C #D8F45D #5DF4C4
split-complementary
#795DF4 #F4C45D #8CF45D
monochromatic
#300EC9 #4A24F0 #795DF4 #A896F8 #D8D0FC

Accessibility & contrast

On white

4.48
#795DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#795DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DF4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DF4#FFFFFF#000000##000000
##795DF41.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#0073F1
Tritanopia (blue-blind)
#4B81A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795df4;
/* rgb */ color: rgb(121, 93, 244);
/* oklch */ color: oklch(59.0% 0.216 286.3);
Tailwind
colors: {
  custom: {
    50: '#a98cf9',
    500: '#795df4',
    950: '#000000',
  },
}
SCSS
$custom: #795df4;
$custom-light: #a98cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#795df4",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 251.126,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5896,
    "c": 0.21569,
    "h": 286.3
  },
  "luminance": 0.18425
}

Semantic roles & 50–950 ramp

primary
#795DF4
secondary
#E6EFBE
accent
#E402BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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