#795BE5#795BE5

#795BE5 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.200 H 288.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#795BE5
RGBrgb(121, 91, 229)
HSLhsl(253, 73%, 63%)
HSVhsv(253, 60%, 90%)
CMYKcmyk(47.2%, 60.3%, 0%, 10.2%)
CIE-LABlab(48.52, 45.51, -66.24)
CIE-LCHlch(48.52, 80.37, 304.49°)
OKLaboklab(57.54% 0.0634 -0.1894)
OKLCHoklch(57.54% 0.2 288.5)
XYZxyz(25.7650, 17.2032, 76.0765)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE5 #C7E55B
analogous
#5B82E5 #795BE5 #BE5BE5
triadic
#795BE5 #E5795B #5BE579
tetradic
#795BE5 #E55B82 #C7E55B #5BE5BE
square
#795BE5 #E55B82 #C7E55B #5BE5BE
split-complementary
#795BE5 #E5BE5B #82E55B
monochromatic
#3A1BAB #4E26DD #795BE5 #A490ED #CFC5F6

Accessibility & contrast

On white

4.73
#795BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#795BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE5#FFFFFF#000000##FFFFFF
##795BE51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#567B97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795be5;
/* rgb */ color: rgb(121, 91, 229);
/* oklch */ color: oklch(57.5% 0.200 288.5);
Tailwind
colors: {
  custom: {
    50: '#a78bee',
    500: '#795be5',
    950: '#000000',
  },
}
SCSS
$custom: #795be5;
$custom-light: #a78bee;
$custom-dark: #000000;
JSON
{
  "hex": "#795be5",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 253.043,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.19974,
    "h": 288.5
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#795BE5
secondary
#DCE7B5
accent
#D511AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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