#795BE1#795BE1

#795BE1 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.195 H 289.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#795BE1
RGBrgb(121, 91, 225)
HSLhsl(253, 69%, 62%)
HSVhsv(253, 60%, 88%)
CMYKcmyk(46.2%, 59.6%, 0%, 11.8%)
CIE-LABlab(48.24, 44.38, -64.43)
CIE-LCHlch(48.24, 78.23, 304.56°)
OKLaboklab(57.25% 0.0636 -0.1841)
OKLCHoklch(57.25% 0.195 289.1)
XYZxyz(25.2130, 16.9824, 73.1690)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE1 #C3E15B
analogous
#5B80E1 #795BE1 #BC5BE1
triadic
#795BE1 #E1795B #5BE179
tetradic
#795BE1 #E15B80 #C3E15B #5BE1BC
square
#795BE1 #E15B80 #C3E15B #5BE1BC
split-complementary
#795BE1 #E1BC5B #80E15B
monochromatic
#3C1EA4 #4F27D7 #795BE1 #A38FEA #CEC2F4

Accessibility & contrast

On white

4.78
#795BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#795BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE1#FFFFFF#000000##FFFFFF
##795BE11.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#587A95
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795be1;
/* rgb */ color: rgb(121, 91, 225);
/* oklch */ color: oklch(57.2% 0.195 289.1);
Tailwind
colors: {
  custom: {
    50: '#a78aeb',
    500: '#795be1',
    950: '#000000',
  },
}
SCSS
$custom: #795be1;
$custom-light: #a78aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#795be1",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 253.433,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57245,
    "c": 0.19475,
    "h": 289.1
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#795BE1
secondary
#DAE5B3
accent
#D114A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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