#795DFF#795DFF

#795DFF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.229 H 285.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#795DFF
RGBrgb(121, 93, 255)
HSLhsl(250, 100%, 68%)
HSVhsv(250, 64%, 100%)
CMYKcmyk(52.5%, 63.5%, 0%, 0%)
CIE-LABlab(50.82, 51.83, -77.04)
CIE-LCHlch(50.82, 92.86, 303.93°)
OKLaboklab(59.8% 0.0594 -0.2212)
OKLCHoklch(59.8% 0.229 285)
XYZxyz(29.8441, 19.1120, 96.7048)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DFF #E3FF5D
analogous
#5D92FF #795DFF #CA5DFF
triadic
#795DFF #FF795D #5DFF79
tetradic
#795DFF #FF5D92 #E3FF5D #5DFFCA
square
#795DFF #FF5D92 #E3FF5D #5DFFCA
split-complementary
#795DFF #FFCA5D #92FF5D
monochromatic
#2700E2 #4620FF #795DFF #AC9AFF #DED7FF

Accessibility & contrast

On white

4.35
#795DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#795DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DFF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DFF#FFFFFF#000000##000000
##795DFF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0074FC
Tritanopia (blue-blind)
#4185A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795dff;
/* rgb */ color: rgb(121, 93, 255);
/* oklch */ color: oklch(59.8% 0.229 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa8cff',
    500: '#795dff',
    950: '#000000',
  },
}
SCSS
$custom: #795dff;
$custom-light: #aa8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#795dff",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 250.37,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.22902,
    "h": 285
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#795DFF
secondary
#ECF4C3
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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