#795AE9#795AE9

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

Color values

HEX#795AE9
RGBrgb(121, 90, 233)
HSLhsl(253, 76%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(48.1%, 61.4%, 0%, 8.6%)
CIE-LABlab(48.59, 47.21, -68.38)
CIE-LCHlch(48.59, 83.09, 304.62°)
OKLaboklab(57.68% 0.0642 -0.1957)
OKLCHoklch(57.68% 0.206 288.2)
XYZxyz(26.2450, 17.2593, 79.0235)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AE9 #CAE95A
analogous
#5A82E9 #795AE9 #C05AE9
triadic
#795AE9 #E9795A #5AE979
tetradic
#795AE9 #E95A82 #CAE95A #5AE9C0
square
#795AE9 #E95A82 #CAE95A #5AE9C0
split-complementary
#795AE9 #E9C05A #82E95A
monochromatic
#3918B1 #4D24E2 #795AE9 #A590F0 #D1C6F7

Accessibility & contrast

On white

4.72
#795AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#795AE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AE9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AE9#FFFFFF#000000##FFFFFF
##795AE91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795ae9;
/* rgb */ color: rgb(121, 90, 233);
/* oklch */ color: oklch(57.7% 0.206 288.2);
Tailwind
colors: {
  custom: {
    50: '#a88af1',
    500: '#795ae9',
    950: '#000000',
  },
}
SCSS
$custom: #795ae9;
$custom-light: #a88af1;
$custom-dark: #000000;
JSON
{
  "hex": "#795ae9",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 253.007,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.20597,
    "h": 288.2
  },
  "luminance": 0.1726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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