#795CD0#795CD0

#795CD0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.2% C 0.172 H 291.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#795CD0
RGBrgb(121, 92, 208)
HSLhsl(255, 55%, 59%)
HSVhsv(255, 56%, 82%)
CMYKcmyk(41.8%, 55.8%, 0%, 18.4%)
CIE-LABlab(47.33, 39.03, -56.21)
CIE-LCHlch(47.33, 68.43, 304.77°)
OKLaboklab(56.22% 0.0627 -0.1599)
OKLCHoklch(56.22% 0.172 291.4)
XYZxyz(23.0944, 16.2726, 61.5864)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CD0 #B3D05C
analogous
#5C79D0 #795CD0 #B35CD0
triadic
#795CD0 #D0795C #5CD079
tetradic
#795CD0 #D05C79 #B3D05C #5CD0B3
square
#795CD0 #D05C79 #B3D05C #5CD0B3
split-complementary
#795CD0 #D0B35C #79D05C
monochromatic
#40288A #5635B9 #795CD0 #A08CDE #C7BBEB

Accessibility & contrast

On white

4.94
#795CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#795CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CD0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CD0#FFFFFF#000000##FFFFFF
##795CD01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D4
Deuteranopia (green-blind)
#256ECD
Tritanopia (blue-blind)
#61758D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795cd0;
/* rgb */ color: rgb(121, 92, 208);
/* oklch */ color: oklch(56.2% 0.172 291.4);
Tailwind
colors: {
  custom: {
    50: '#a58bdf',
    500: '#795cd0',
    950: '#000000',
  },
}
SCSS
$custom: #795cd0;
$custom-light: #a58bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#795cd0",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 208
  },
  "hsl": {
    "h": 255,
    "s": 55.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.17177,
    "h": 291.4
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#795CD0
secondary
#CFDBAD
accent
#DF49B9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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