#795DCE#795DCE

#795DCE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.168 H 291.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#795DCE
RGBrgb(121, 93, 206)
HSLhsl(255, 54%, 59%)
HSVhsv(255, 55%, 81%)
CMYKcmyk(41.3%, 54.9%, 0%, 19.2%)
CIE-LABlab(47.43, 37.89, -54.91)
CIE-LCHlch(47.43, 66.71, 304.61°)
OKLaboklab(56.25% 0.0615 -0.1561)
OKLCHoklch(56.25% 0.168 291.5)
XYZxyz(22.9370, 16.3492, 60.3278)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DCE #B2CE5D
analogous
#5D79CE #795DCE #B15DCE
triadic
#795DCE #CE795D #5DCE79
tetradic
#795DCE #CE5D79 #B2CE5D #5DCEB1
square
#795DCE #CE5D79 #B2CE5D #5DCEB1
split-complementary
#795DCE #CEB15D #79CE5D
monochromatic
#402988 #5737B7 #795DCE #A08CDC #C7BBEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795DCE#FFFFFF#000000##FFFFFF
##795DCE1.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)
#2472D2
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#62758C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795dce;
/* rgb */ color: rgb(121, 93, 206);
/* oklch */ color: oklch(56.3% 0.168 291.5);
Tailwind
colors: {
  custom: {
    50: '#a58cde',
    500: '#795dce',
    950: '#000000',
  },
}
SCSS
$custom: #795dce;
$custom-light: #a58cde;
$custom-dark: #000000;
JSON
{
  "hex": "#795dce",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 254.867,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.16775,
    "h": 291.5
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#795DCE
secondary
#CFDAAD
accent
#DD4BB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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