#795AD8#795AD8

#795AD8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.185 H 290.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#795AD8
RGBrgb(121, 90, 216)
HSLhsl(255, 62%, 60%)
HSVhsv(255, 58%, 85%)
CMYKcmyk(44%, 58.3%, 0%, 15.3%)
CIE-LABlab(47.41, 42.41, -60.65)
CIE-LCHlch(47.41, 74.01, 304.96°)
OKLaboklab(56.44% 0.065 -0.173)
OKLCHoklch(56.44% 0.185 290.6)
XYZxyz(23.9325, 16.3343, 66.8443)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AD8 #B9D85A
analogous
#5A7AD8 #795AD8 #B85AD8
triadic
#795AD8 #D8795A #5AD879
tetradic
#795AD8 #D85A7A #B9D85A #5AD8B8
square
#795AD8 #D85A7A #B9D85A #5AD8B8
split-complementary
#795AD8 #D8B85A #7AD85A
monochromatic
#3F2395 #542FC6 #795AD8 #A18BE4 #C9BDEF

Accessibility & contrast

On white

4.92
#795AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#795AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AD8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AD8#FFFFFF#000000##FFFFFF
##795AD81.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#066ED5
Tritanopia (blue-blind)
#5D7690
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795ad8;
/* rgb */ color: rgb(121, 90, 216);
/* oklch */ color: oklch(56.4% 0.185 290.6);
Tailwind
colors: {
  custom: {
    50: '#a68ae5',
    500: '#795ad8',
    950: '#000000',
  },
}
SCSS
$custom: #795ad8;
$custom-light: #a68ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#795ad8",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 216
  },
  "hsl": {
    "h": 254.762,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.18478,
    "h": 290.6
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#795AD8
secondary
#D3DFAF
accent
#E543BD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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