#795DCD#795DCD

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

Color values

HEX#795DCD
RGBrgb(121, 93, 205)
HSLhsl(255, 53%, 58%)
HSVhsv(255, 55%, 80%)
CMYKcmyk(41%, 54.6%, 0%, 19.6%)
CIE-LABlab(47.37, 37.61, -54.43)
CIE-LCHlch(47.37, 66.16, 304.64°)
OKLaboklab(56.18% 0.0614 -0.1547)
OKLCHoklch(56.18% 0.166 291.7)
XYZxyz(22.8160, 16.3008, 59.6900)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DCD #B1CD5D
analogous
#5D79CD #795DCD #B15DCD
triadic
#795DCD #CD795D #5DCD79
tetradic
#795DCD #CD5D79 #B1CD5D #5DCDB1
square
#795DCD #CD5D79 #B1CD5D #5DCDB1
split-complementary
#795DCD #CDB15D #79CD5D
monochromatic
#412986 #5738B5 #795DCD #A08CDB #C6BBEA

Accessibility & contrast

On white

4.93
#795DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#795DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DCD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DCD#FFFFFF#000000##FFFFFF
##795DCD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#2C6ECB
Tritanopia (blue-blind)
#62758C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795dcd;
/* rgb */ color: rgb(121, 93, 205);
/* oklch */ color: oklch(56.2% 0.166 291.7);
Tailwind
colors: {
  custom: {
    50: '#a48cdd',
    500: '#795dcd',
    950: '#000000',
  },
}
SCSS
$custom: #795dcd;
$custom-light: #a48cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#795dcd",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 255,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56185,
    "c": 0.16645,
    "h": 291.7
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#795DCD
secondary
#CED9AD
accent
#DC4CB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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