#795BE6#795BE6

#795BE6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.6% C 0.201 H 288.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#795BE6
RGBrgb(121, 91, 230)
HSLhsl(253, 74%, 63%)
HSVhsv(253, 60%, 90%)
CMYKcmyk(47.4%, 60.4%, 0%, 9.8%)
CIE-LABlab(48.59, 45.80, -66.69)
CIE-LCHlch(48.59, 80.90, 304.48°)
OKLaboklab(57.61% 0.0633 -0.1907)
OKLCHoklch(57.61% 0.201 288.4)
XYZxyz(25.9051, 17.2592, 76.8140)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE6 #C8E65B
analogous
#5B82E6 #795BE6 #BF5BE6
triadic
#795BE6 #E6795B #5BE679
tetradic
#795BE6 #E65B82 #C8E65B #5BE6BF
square
#795BE6 #E65B82 #C8E65B #5BE6BF
split-complementary
#795BE6 #E6BF5B #82E65B
monochromatic
#3A1AAC #4E26DE #795BE6 #A490EE #D0C5F6

Accessibility & contrast

On white

4.72
#795BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#795BE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE6#FFFFFF#000000##FFFFFF
##795BE61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#557B98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795be6;
/* rgb */ color: rgb(121, 91, 230);
/* oklch */ color: oklch(57.6% 0.201 288.4);
Tailwind
colors: {
  custom: {
    50: '#a78bef',
    500: '#795be6',
    950: '#000000',
  },
}
SCSS
$custom: #795be6;
$custom-light: #a78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#795be6",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 252.95,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.20098,
    "h": 288.4
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

primary
#795BE6
secondary
#DDE7B5
accent
#D610AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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