#795DF9#795DF9

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

Color values

HEX#795DF9
RGBrgb(121, 93, 249)
HSLhsl(251, 93%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51.4%, 62.7%, 0%, 2.4%)
CIE-LABlab(50.37, 50.11, -74.44)
CIE-LCHlch(50.37, 89.73, 303.95°)
OKLaboklab(59.34% 0.06 -0.2135)
OKLCHoklch(59.34% 0.222 285.7)
XYZxyz(28.8933, 18.7317, 91.6973)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DF9 #DDF95D
analogous
#5D8FF9 #795DF9 #C75DF9
triadic
#795DF9 #F9795D #5DF979
tetradic
#795DF9 #F95D8F #DDF95D #5DF9C7
square
#795DF9 #F95D8F #DDF95D #5DF9C7
split-complementary
#795DF9 #F9C75D #8FF95D
monochromatic
#2C08D4 #4822F7 #795DF9 #AA98FB #DBD3FD

Accessibility & contrast

On white

4.42
#795DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#795DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DF9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DF9#FFFFFF#000000##000000
##795DF91.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0073F6
Tritanopia (blue-blind)
#4783A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795df9;
/* rgb */ color: rgb(121, 93, 249);
/* oklch */ color: oklch(59.3% 0.222 285.7);
Tailwind
colors: {
  custom: {
    50: '#aa8cfc',
    500: '#795df9',
    950: '#000000',
  },
}
SCSS
$custom: #795df9;
$custom-light: #aa8cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#795df9",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 250.769,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.22178,
    "h": 285.7
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#795DF9
secondary
#E9F2C0
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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