#795BE7#795BE7

#795BE7 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.7% C 0.202 H 288.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#795BE7
RGBrgb(121, 91, 231)
HSLhsl(253, 74%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(47.6%, 60.6%, 0%, 9.4%)
CIE-LABlab(48.66, 46.08, -67.14)
CIE-LCHlch(48.66, 81.43, 304.46°)
OKLaboklab(57.68% 0.0633 -0.1921)
OKLCHoklch(57.68% 0.202 288.2)
XYZxyz(26.0459, 17.3155, 77.5557)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE7 #C9E75B
analogous
#5B83E7 #795BE7 #BF5BE7
triadic
#795BE7 #E7795B #5BE779
tetradic
#795BE7 #E75B83 #C9E75B #5BE7BF
square
#795BE7 #E75B83 #C9E75B #5BE7BF
split-complementary
#795BE7 #E7BF5B #83E75B
monochromatic
#3919AE #4D26DF #795BE7 #A590EF #D0C6F7

Accessibility & contrast

On white

4.70
#795BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#795BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE7#FFFFFF#000000##FFFFFF
##795BE71.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#547C98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795be7;
/* rgb */ color: rgb(121, 91, 231);
/* oklch */ color: oklch(57.7% 0.202 288.2);
Tailwind
colors: {
  custom: {
    50: '#a78bef',
    500: '#795be7',
    950: '#000000',
  },
}
SCSS
$custom: #795be7;
$custom-light: #a78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#795be7",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 252.857,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.20222,
    "h": 288.2
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#795BE7
secondary
#DDE8B6
accent
#D70FAC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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