#795CE6#795CE6

#795CE6 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.200 H 288.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#795CE6
RGBrgb(121, 92, 230)
HSLhsl(253, 73%, 63%)
HSVhsv(253, 60%, 90%)
CMYKcmyk(47.4%, 60%, 0%, 9.8%)
CIE-LABlab(48.80, 45.23, -66.34)
CIE-LCHlch(48.80, 80.29, 304.29°)
OKLaboklab(57.77% 0.0623 -0.1897)
OKLCHoklch(57.77% 0.2 288.2)
XYZxyz(25.9911, 17.4313, 76.8427)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE6 #C9E65C
analogous
#5C84E6 #795CE6 #BE5CE6
triadic
#795CE6 #E6795C #5CE679
tetradic
#795CE6 #E65C84 #C9E65C #5CE6BE
square
#795CE6 #E65C84 #C9E65C #5CE6BE
split-complementary
#795CE6 #E6BE5C #84E65C
monochromatic
#391BAD #4D27DE #795CE6 #A591EE #D0C6F6

Accessibility & contrast

On white

4.68
#795CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#795CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CE6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE6#FFFFFF#000000##FFFFFF
##795CE61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#557C98
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ce6;
/* rgb */ color: rgb(121, 92, 230);
/* oklch */ color: oklch(57.8% 0.200 288.2);
Tailwind
colors: {
  custom: {
    50: '#a78bef',
    500: '#795ce6',
    950: '#000000',
  },
}
SCSS
$custom: #795ce6;
$custom-light: #a78bef;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce6",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 252.609,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.19968,
    "h": 288.2
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#795CE6
secondary
#DDE8B6
accent
#D610AC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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