#795BE2#795BE2

#795BE2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.196 H 288.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#795BE2
RGBrgb(121, 91, 226)
HSLhsl(253, 70%, 62%)
HSVhsv(253, 60%, 89%)
CMYKcmyk(46.5%, 59.7%, 0%, 11.4%)
CIE-LABlab(48.31, 44.66, -64.88)
CIE-LCHlch(48.31, 78.77, 304.54°)
OKLaboklab(57.32% 0.0635 -0.1854)
OKLCHoklch(57.32% 0.196 288.9)
XYZxyz(25.3498, 17.0371, 73.8896)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE2 #C4E25B
analogous
#5B81E2 #795BE2 #BC5BE2
triadic
#795BE2 #E2795B #5BE279
tetradic
#795BE2 #E25B81 #C4E25B #5BE2BC
square
#795BE2 #E25B81 #C4E25B #5BE2BC
split-complementary
#795BE2 #E2BC5B #81E25B
monochromatic
#3B1DA5 #4F27D9 #795BE2 #A38FEB #CEC3F4

Accessibility & contrast

On white

4.76
#795BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#795BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE2#FFFFFF#000000##FFFFFF
##795BE21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#577A96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795be2;
/* rgb */ color: rgb(121, 91, 226);
/* oklch */ color: oklch(57.3% 0.196 288.9);
Tailwind
colors: {
  custom: {
    50: '#a78bec',
    500: '#795be2',
    950: '#000000',
  },
}
SCSS
$custom: #795be2;
$custom-light: #a78bec;
$custom-dark: #000000;
JSON
{
  "hex": "#795be2",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 226
  },
  "hsl": {
    "h": 253.333,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.196,
    "h": 288.9
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#795BE2
secondary
#DAE5B4
accent
#D214A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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