#795AE6#795AE6

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

Color values

HEX#795AE6
RGBrgb(121, 90, 230)
HSLhsl(253, 74%, 63%)
HSVhsv(253, 61%, 90%)
CMYKcmyk(47.4%, 60.9%, 0%, 9.8%)
CIE-LABlab(48.37, 46.36, -67.03)
CIE-LCHlch(48.37, 81.50, 304.67°)
OKLaboklab(57.45% 0.0644 -0.1918)
OKLCHoklch(57.45% 0.202 288.6)
XYZxyz(25.8201, 17.0894, 76.7857)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AE6 #C7E65A
analogous
#5A81E6 #795AE6 #BF5AE6
triadic
#795AE6 #E6795A #5AE679
tetradic
#795AE6 #E65A81 #C7E65A #5AE6BF
square
#795AE6 #E65A81 #C7E65A #5AE6BF
split-complementary
#795AE6 #E6BF5A #81E65A
monochromatic
#3A1AAC #4E25DE #795AE6 #A48FEE #CFC4F6

Accessibility & contrast

On white

4.75
#795AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#795AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AE6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AE6#FFFFFF#000000##FFFFFF
##795AE61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#557B98
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ae6;
/* rgb */ color: rgb(121, 90, 230);
/* oklch */ color: oklch(57.5% 0.202 288.6);
Tailwind
colors: {
  custom: {
    50: '#a78aef',
    500: '#795ae6',
    950: '#000000',
  },
}
SCSS
$custom: #795ae6;
$custom-light: #a78aef;
$custom-dark: #000000;
JSON
{
  "hex": "#795ae6",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 253.286,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57453,
    "c": 0.20228,
    "h": 288.6
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#795AE6
secondary
#DCE7B5
accent
#D610AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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