#795AE7#795AE7

#795AE7 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.204 H 288.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#795AE7
RGBrgb(121, 90, 231)
HSLhsl(253, 75%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(47.6%, 61%, 0%, 9.4%)
CIE-LABlab(48.44, 46.64, -67.48)
CIE-LCHlch(48.44, 82.03, 304.65°)
OKLaboklab(57.53% 0.0643 -0.1931)
OKLCHoklch(57.53% 0.204 288.4)
XYZxyz(25.9610, 17.1457, 77.5274)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AE7 #C8E75A
analogous
#5A82E7 #795AE7 #BF5AE7
triadic
#795AE7 #E7795A #5AE779
tetradic
#795AE7 #E75A82 #C8E75A #5AE7BF
square
#795AE7 #E75A82 #C8E75A #5AE7BF
split-complementary
#795AE7 #E7BF5A #82E75A
monochromatic
#3A19AD #4E25DF #795AE7 #A48FEF #D0C5F7

Accessibility & contrast

On white

4.74
#795AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#795AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AE7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AE7#FFFFFF#000000##FFFFFF
##795AE71.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#547B98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ae7;
/* rgb */ color: rgb(121, 90, 231);
/* oklch */ color: oklch(57.5% 0.204 288.4);
Tailwind
colors: {
  custom: {
    50: '#a78af0',
    500: '#795ae7',
    950: '#000000',
  },
}
SCSS
$custom: #795ae7;
$custom-light: #a78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#795ae7",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 253.191,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.20351,
    "h": 288.4
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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