#795EEB#795EEB

#795EEB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.4% C 0.203 H 287.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#795EEB
RGBrgb(121, 94, 235)
HSLhsl(251, 78%, 65%)
HSVhsv(251, 60%, 92%)
CMYKcmyk(48.5%, 60%, 0%, 7.8%)
CIE-LABlab(49.58, 45.53, -67.89)
CIE-LCHlch(49.58, 81.75, 303.85°)
OKLaboklab(58.45% 0.0599 -0.1943)
OKLCHoklch(58.45% 0.203 287.1)
XYZxyz(26.8789, 18.0673, 80.6522)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EEB #D0EB5E
analogous
#5E8AEB #795EEB #BF5EEB
triadic
#795EEB #EB795E #5EEB79
tetradic
#795EEB #EB5E8A #D0EB5E #5EEBBF
square
#795EEB #EB5E8A #D0EB5E #5EEBBF
split-complementary
#795EEB #EBBF5E #8AEB5E
monochromatic
#3617B8 #4C28E4 #795EEB #A694F2 #D4CBF9

Accessibility & contrast

On white

4.55
#795EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#795EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EEB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EEB#FFFFFF#000000##000000
##795EEB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#517F9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795eeb;
/* rgb */ color: rgb(121, 94, 235);
/* oklch */ color: oklch(58.4% 0.203 287.1);
Tailwind
colors: {
  custom: {
    50: '#a88df2',
    500: '#795eeb',
    950: '#000000',
  },
}
SCSS
$custom: #795eeb;
$custom-light: #a88df2;
$custom-dark: #000000;
JSON
{
  "hex": "#795eeb",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 251.489,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.20332,
    "h": 287.1
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#795EEB
secondary
#E1EBBA
accent
#DA0BB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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