#795BE4#795BE4

#795BE4 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.199 H 288.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#795BE4
RGBrgb(121, 91, 228)
HSLhsl(253, 72%, 63%)
HSVhsv(253, 60%, 89%)
CMYKcmyk(46.9%, 60.1%, 0%, 10.6%)
CIE-LABlab(48.45, 45.23, -65.79)
CIE-LCHlch(48.45, 79.83, 304.51°)
OKLaboklab(57.46% 0.0634 -0.1881)
OKLCHoklch(57.46% 0.199 288.6)
XYZxyz(25.6258, 17.1475, 75.3433)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE4 #C6E45B
analogous
#5B81E4 #795BE4 #BE5BE4
triadic
#795BE4 #E4795B #5BE479
tetradic
#795BE4 #E45B81 #C6E45B #5BE4BE
square
#795BE4 #E45B81 #C6E45B #5BE4BE
split-complementary
#795BE4 #E4BE5B #81E45B
monochromatic
#3B1CA9 #4E26DB #795BE4 #A490ED #CFC4F5

Accessibility & contrast

On white

4.74
#795BE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#795BE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE4#FFFFFF#000000##FFFFFF
##795BE41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795be4;
/* rgb */ color: rgb(121, 91, 228);
/* oklch */ color: oklch(57.5% 0.199 288.6);
Tailwind
colors: {
  custom: {
    50: '#a78bed',
    500: '#795be4',
    950: '#000000',
  },
}
SCSS
$custom: #795be4;
$custom-light: #a78bed;
$custom-dark: #000000;
JSON
{
  "hex": "#795be4",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 253.139,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57462,
    "c": 0.1985,
    "h": 288.6
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#795BE4
secondary
#DBE6B4
accent
#D412A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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