#795AE4#795AE4

#795AE4 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.200 H 288.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#795AE4
RGBrgb(121, 90, 228)
HSLhsl(253, 72%, 62%)
HSVhsv(253, 61%, 89%)
CMYKcmyk(46.9%, 60.5%, 0%, 10.6%)
CIE-LABlab(48.23, 45.79, -66.13)
CIE-LCHlch(48.23, 80.44, 304.70°)
OKLaboklab(57.31% 0.0645 -0.1891)
OKLCHoklch(57.31% 0.2 288.8)
XYZxyz(25.5409, 16.9777, 75.3150)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AE4 #C5E45A
analogous
#5A80E4 #795AE4 #BE5AE4
triadic
#795AE4 #E4795A #5AE479
tetradic
#795AE4 #E45A80 #C5E45A #5AE4BE
square
#795AE4 #E45A80 #C5E45A #5AE4BE
split-complementary
#795AE4 #E4BE5A #80E45A
monochromatic
#3B1CA8 #4E25DB #795AE4 #A48FED #CEC3F5

Accessibility & contrast

On white

4.78
#795AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#795AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AE4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AE4#FFFFFF#000000##FFFFFF
##795AE41.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#567A97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795ae4;
/* rgb */ color: rgb(121, 90, 228);
/* oklch */ color: oklch(57.3% 0.200 288.8);
Tailwind
colors: {
  custom: {
    50: '#a78aed',
    500: '#795ae4',
    950: '#000000',
  },
}
SCSS
$custom: #795ae4;
$custom-light: #a78aed;
$custom-dark: #000000;
JSON
{
  "hex": "#795ae4",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 253.478,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.1998,
    "h": 288.8
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#795AE4
secondary
#DBE6B4
accent
#D412A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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