#795EFF#795EFF

#795EFF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.228 H 284.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#795EFF
RGBrgb(121, 94, 255)
HSLhsl(250, 100%, 68%)
HSVhsv(250, 63%, 100%)
CMYKcmyk(52.5%, 63.1%, 0%, 0%)
CIE-LABlab(51.02, 51.28, -76.71)
CIE-LCHlch(51.02, 92.27, 303.76°)
OKLaboklab(59.95% 0.0585 -0.2202)
OKLCHoklch(59.95% 0.228 284.9)
XYZxyz(29.9324, 19.2887, 96.7342)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EFF #E4FF5E
analogous
#5E93FF #795EFF #C95EFF
triadic
#795EFF #FF795E #5EFF79
tetradic
#795EFF #FF5E93 #E4FF5E #5EFFC9
square
#795EFF #FF5E93 #E4FF5E #5EFFC9
split-complementary
#795EFF #FFC95E #93FF5E
monochromatic
#2600E3 #4621FF #795EFF #AC9BFF #DFD8FF

Accessibility & contrast

On white

4.32
#795EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#795EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EFF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EFF#FFFFFF#000000##000000
##795EFF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795eff;
/* rgb */ color: rgb(121, 94, 255);
/* oklch */ color: oklch(60.0% 0.228 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa8dff',
    500: '#795eff',
    950: '#000000',
  },
}
SCSS
$custom: #795eff;
$custom-light: #aa8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#795eff",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 250.062,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.22784,
    "h": 284.9
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#795EFF
secondary
#ECF5C4
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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