#795AE8#795AE8

#795AE8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.6% C 0.205 H 288.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#795AE8
RGBrgb(121, 90, 232)
HSLhsl(253, 76%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(47.8%, 61.2%, 0%, 9%)
CIE-LABlab(48.51, 46.92, -67.93)
CIE-LCHlch(48.51, 82.56, 304.63°)
OKLaboklab(57.6% 0.0642 -0.1944)
OKLCHoklch(57.6% 0.205 288.3)
XYZxyz(26.1026, 17.2024, 78.2733)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AE8 #C9E85A
analogous
#5A82E8 #795AE8 #C05AE8
triadic
#795AE8 #E8795A #5AE879
tetradic
#795AE8 #E85A82 #C9E85A #5AE8C0
square
#795AE8 #E85A82 #C9E85A #5AE8C0
split-complementary
#795AE8 #E8C05A #82E85A
monochromatic
#3918AF #4D24E1 #795AE8 #A590EF #D0C5F7

Accessibility & contrast

On white

4.73
#795AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#795AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AE8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AE8#FFFFFF#000000##FFFFFF
##795AE81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#547B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ae8;
/* rgb */ color: rgb(121, 90, 232);
/* oklch */ color: oklch(57.6% 0.205 288.3);
Tailwind
colors: {
  custom: {
    50: '#a88af0',
    500: '#795ae8',
    950: '#000000',
  },
}
SCSS
$custom: #795ae8;
$custom-light: #a88af0;
$custom-dark: #000000;
JSON
{
  "hex": "#795ae8",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 253.099,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57601,
    "c": 0.20474,
    "h": 288.3
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#795AE8
secondary
#DDE8B5
accent
#D80EAC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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