#795BE9#795BE9

#795BE9 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.205 H 288.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#795BE9
RGBrgb(121, 91, 233)
HSLhsl(253, 76%, 64%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(48.1%, 60.9%, 0%, 8.6%)
CIE-LABlab(48.80, 46.65, -68.04)
CIE-LCHlch(48.80, 82.49, 304.44°)
OKLaboklab(57.83% 0.0632 -0.1947)
OKLCHoklch(57.83% 0.205 288)
XYZxyz(26.3300, 17.4292, 79.0518)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE9 #CBE95B
analogous
#5B84E9 #795BE9 #C05BE9
triadic
#795BE9 #E9795B #5BE979
tetradic
#795BE9 #E95B84 #CBE95B #5BE9C0
square
#795BE9 #E95B84 #CBE95B #5BE9C0
split-complementary
#795BE9 #E9C05B #84E95B
monochromatic
#3818B2 #4D25E2 #795BE9 #A591F0 #D1C7F7

Accessibility & contrast

On white

4.68
#795BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#795BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE9#FFFFFF#000000##FFFFFF
##795BE91.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#537C9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795be9;
/* rgb */ color: rgb(121, 91, 233);
/* oklch */ color: oklch(57.8% 0.205 288.0);
Tailwind
colors: {
  custom: {
    50: '#a88bf1',
    500: '#795be9',
    950: '#000000',
  },
}
SCSS
$custom: #795be9;
$custom-light: #a88bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#795be9",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 252.676,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5783,
    "c": 0.20469,
    "h": 288
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#795BE9
secondary
#DEE9B7
accent
#D90DAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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