#795BEE#795BEE

#795BEE is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.211 H 287.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#795BEE
RGBrgb(121, 91, 238)
HSLhsl(252, 81%, 65%)
HSVhsv(252, 62%, 93%)
CMYKcmyk(49.2%, 61.8%, 0%, 6.7%)
CIE-LABlab(49.15, 48.07, -70.27)
CIE-LCHlch(49.15, 85.14, 304.38°)
OKLaboklab(58.2% 0.0628 -0.2013)
OKLCHoklch(58.2% 0.211 287.3)
XYZxyz(27.0543, 17.7189, 82.8669)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BEE #D0EE5B
analogous
#5B87EE #795BEE #C35BEE
triadic
#795BEE #EE795B #5BEE79
tetradic
#795BEE #EE5B87 #D0EE5B #5BEEC3
square
#795BEE #EE5B87 #D0EE5B #5BEEC3
split-complementary
#795BEE #EEC35B #87EE5B
monochromatic
#3613BB #4C24E8 #795BEE #A692F4 #D4CAF9

Accessibility & contrast

On white

4.62
#795BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#795BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795BEE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BEE#FFFFFF#000000##FFFFFF
##795BEE1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#4F7E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795bee;
/* rgb */ color: rgb(121, 91, 238);
/* oklch */ color: oklch(58.2% 0.211 287.3);
Tailwind
colors: {
  custom: {
    50: '#a88bf4',
    500: '#795bee',
    950: '#000000',
  },
}
SCSS
$custom: #795bee;
$custom-light: #a88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#795bee",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 252.245,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.21084,
    "h": 287.3
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#795BEE
secondary
#E1ECB9
accent
#DE08B2
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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