#795BEA#795BEA

#795BEA is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 57.9% C 0.206 H 287.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#795BEA
RGBrgb(121, 91, 234)
HSLhsl(253, 77%, 64%)
HSVhsv(253, 61%, 92%)
CMYKcmyk(48.3%, 61.1%, 0%, 8.2%)
CIE-LABlab(48.87, 46.93, -68.48)
CIE-LCHlch(48.87, 83.02, 304.42°)
OKLaboklab(57.9% 0.0631 -0.196)
OKLCHoklch(57.9% 0.206 287.8)
XYZxyz(26.4732, 17.4865, 79.8063)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BEA #CCEA5B
analogous
#5B84EA #795BEA #C05BEA
triadic
#795BEA #EA795B #5BEA79
tetradic
#795BEA #EA5B84 #CCEA5B #5BEAC0
square
#795BEA #EA5B84 #CCEA5B #5BEAC0
split-complementary
#795BEA #EAC05B #84EA5B
monochromatic
#3817B4 #4D25E3 #795BEA #A591F1 #D2C8F8

Accessibility & contrast

On white

4.67
#795BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#795BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795BEA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BEA#FFFFFF#000000##FFFFFF
##795BEA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#527D9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795bea;
/* rgb */ color: rgb(121, 91, 234);
/* oklch */ color: oklch(57.9% 0.206 287.8);
Tailwind
colors: {
  custom: {
    50: '#a88bf2',
    500: '#795bea',
    950: '#000000',
  },
}
SCSS
$custom: #795bea;
$custom-light: #a88bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#795bea",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 252.587,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.20592,
    "h": 287.8
  },
  "luminance": 0.17488
}

Semantic roles & 50–950 ramp

primary
#795BEA
secondary
#DFEAB7
accent
#DA0CAE
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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