#795AFF#795AFF

#795AFF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.233 H 285.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#795AFF
RGBrgb(121, 90, 255)
HSLhsl(251, 100%, 68%)
HSVhsv(251, 65%, 100%)
CMYKcmyk(52.5%, 64.7%, 0%, 0%)
CIE-LABlab(50.21, 53.47, -78.03)
CIE-LCHlch(50.21, 94.59, 304.42°)
OKLaboklab(59.36% 0.0621 -0.2241)
OKLCHoklch(59.36% 0.233 285.5)
XYZxyz(29.5859, 18.5957, 96.6187)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AFF #E0FF5A
analogous
#5A8DFF #795AFF #CC5AFF
triadic
#795AFF #FF795A #5AFF79
tetradic
#795AFF #FF5A8D #E0FF5A #5AFFCC
square
#795AFF #FF5A8D #E0FF5A #5AFFCC
split-complementary
#795AFF #FFCC5A #8DFF5A
monochromatic
#2A00DF #471DFF #795AFF #AB97FF #DCD4FF

Accessibility & contrast

On white

4.45
#795AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#795AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795AFF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AFF#FFFFFF#000000##000000
##795AFF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0072FC
Tritanopia (blue-blind)
#4183A5
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795aff;
/* rgb */ color: rgb(121, 90, 255);
/* oklch */ color: oklch(59.4% 0.233 285.5);
Tailwind
colors: {
  custom: {
    50: '#ab8aff',
    500: '#795aff',
    950: '#000000',
  },
}
SCSS
$custom: #795aff;
$custom-light: #ab8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#795aff",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 255
  },
  "hsl": {
    "h": 251.273,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59364,
    "c": 0.23254,
    "h": 285.5
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#795AFF
secondary
#EAF4C1
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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