#795DEB#795DEB

#795DEB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.3% C 0.205 H 287.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#795DEB
RGBrgb(121, 93, 235)
HSLhsl(252, 78%, 64%)
HSVhsv(252, 60%, 92%)
CMYKcmyk(48.5%, 60.4%, 0%, 7.8%)
CIE-LABlab(49.36, 46.09, -68.24)
CIE-LCHlch(49.36, 82.35, 304.04°)
OKLaboklab(58.29% 0.061 -0.1953)
OKLCHoklch(58.29% 0.205 287.3)
XYZxyz(26.7905, 17.8906, 80.6228)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DEB #CFEB5D
analogous
#5D88EB #795DEB #C05DEB
triadic
#795DEB #EB795D #5DEB79
tetradic
#795DEB #EB5D88 #CFEB5D #5DEBC0
square
#795DEB #EB5D88 #CFEB5D #5DEBC0
split-complementary
#795DEB #EBC05D #88EB5D
monochromatic
#3617B7 #4C27E4 #795DEB #A693F2 #D3CAF8

Accessibility & contrast

On white

4.59
#795DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#795DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795DEB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DEB#FFFFFF#000000##FFFFFF
##795DEB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#517E9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795deb;
/* rgb */ color: rgb(121, 93, 235);
/* oklch */ color: oklch(58.3% 0.205 287.3);
Tailwind
colors: {
  custom: {
    50: '#a88cf2',
    500: '#795deb',
    950: '#000000',
  },
}
SCSS
$custom: #795deb;
$custom-light: #a88cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#795deb",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 251.831,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.20461,
    "h": 287.3
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#795DEB
secondary
#E1EBB9
accent
#DA0BB1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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