#795BE8#795BE8

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

Color values

HEX#795BE8
RGBrgb(121, 91, 232)
HSLhsl(253, 75%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(47.8%, 60.8%, 0%, 9%)
CIE-LABlab(48.73, 46.36, -67.59)
CIE-LCHlch(48.73, 81.96, 304.45°)
OKLaboklab(57.76% 0.0632 -0.1934)
OKLCHoklch(57.76% 0.203 288.1)
XYZxyz(26.1875, 17.3722, 78.3016)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE8 #CAE85B
analogous
#5B83E8 #795BE8 #BF5BE8
triadic
#795BE8 #E8795B #5BE879
tetradic
#795BE8 #E85B83 #CAE85B #5BE8BF
square
#795BE8 #E85B83 #CAE85B #5BE8BF
split-complementary
#795BE8 #E8BF5B #83E85B
monochromatic
#3919B0 #4D25E0 #795BE8 #A591F0 #D1C6F7

Accessibility & contrast

On white

4.69
#795BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#795BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE8#FFFFFF#000000##FFFFFF
##795BE81.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#547C99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795be8;
/* rgb */ color: rgb(121, 91, 232);
/* oklch */ color: oklch(57.8% 0.203 288.1);
Tailwind
colors: {
  custom: {
    50: '#a88bf0',
    500: '#795be8',
    950: '#000000',
  },
}
SCSS
$custom: #795be8;
$custom-light: #a88bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#795be8",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 252.766,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.20346,
    "h": 288.1
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#795BE8
secondary
#DEE9B6
accent
#D80EAD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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