#795CD5#795CD5

#795CD5 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.6% C 0.178 H 290.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#795CD5
RGBrgb(121, 92, 213)
HSLhsl(254, 59%, 60%)
HSVhsv(254, 57%, 84%)
CMYKcmyk(43.2%, 56.8%, 0%, 16.5%)
CIE-LABlab(47.65, 40.43, -58.55)
CIE-LCHlch(47.65, 71.15, 304.62°)
OKLaboklab(56.56% 0.0627 -0.1668)
OKLCHoklch(56.56% 0.178 290.6)
XYZxyz(23.7192, 16.5226, 64.8773)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CD5 #B8D55C
analogous
#5C7CD5 #795CD5 #B55CD5
triadic
#795CD5 #D5795C #5CD579
tetradic
#795CD5 #D55C7C #B8D55C #5CD5B5
square
#795CD5 #D55C7C #B8D55C #5CD5B5
split-complementary
#795CD5 #D5B55C #7CD55C
monochromatic
#3F2591 #5432C2 #795CD5 #A18DE2 #C9BDEE

Accessibility & contrast

On white

4.88
#795CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#795CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CD5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CD5#FFFFFF#000000##FFFFFF
##795CD51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1173D9
Deuteranopia (green-blind)
#1B6ED2
Tritanopia (blue-blind)
#5E7790
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795cd5;
/* rgb */ color: rgb(121, 92, 213);
/* oklch */ color: oklch(56.6% 0.178 290.6);
Tailwind
colors: {
  custom: {
    50: '#a58be3',
    500: '#795cd5',
    950: '#000000',
  },
}
SCSS
$custom: #795cd5;
$custom-light: #a58be3;
$custom-dark: #000000;
JSON
{
  "hex": "#795cd5",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 254.38,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.1782,
    "h": 290.6
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#795CD5
secondary
#D3DEAF
accent
#E246BD
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #795CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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