#795AEB#795AEB

#795AEB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.208 H 287.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#795AEB
RGBrgb(121, 90, 235)
HSLhsl(253, 78%, 64%)
HSVhsv(253, 62%, 92%)
CMYKcmyk(48.5%, 61.7%, 0%, 7.8%)
CIE-LABlab(48.73, 47.77, -69.27)
CIE-LCHlch(48.73, 84.15, 304.59°)
OKLaboklab(57.83% 0.064 -0.1983)
OKLCHoklch(57.83% 0.208 287.9)
XYZxyz(26.5324, 17.3743, 80.5367)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AEB #CCEB5A
analogous
#5A83EB #795AEB #C25AEB
triadic
#795AEB #EB795A #5AEB79
tetradic
#795AEB #EB5A83 #CCEB5A #5AEBC2
square
#795AEB #EB5A83 #CCEB5A #5AEBC2
split-complementary
#795AEB #EBC25A #83EB5A
monochromatic
#3816B5 #4D23E4 #795AEB #A591F2 #D2C7F8

Accessibility & contrast

On white

4.69
#795AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#795AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AEB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AEB#FFFFFF#000000##FFFFFF
##795AEB1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#527C9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795aeb;
/* rgb */ color: rgb(121, 90, 235);
/* oklch */ color: oklch(57.8% 0.208 287.9);
Tailwind
colors: {
  custom: {
    50: '#a88af2',
    500: '#795aeb',
    950: '#000000',
  },
}
SCSS
$custom: #795aeb;
$custom-light: #a88af2;
$custom-dark: #000000;
JSON
{
  "hex": "#795aeb",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 252.828,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.20842,
    "h": 287.9
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#795AEB
secondary
#DFEAB7
accent
#DB0BAE
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #795AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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