#795CCE#795CCE

#795CCE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.1% C 0.169 H 291.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#795CCE
RGBrgb(121, 92, 206)
HSLhsl(255, 54%, 58%)
HSVhsv(255, 55%, 81%)
CMYKcmyk(41.3%, 55.3%, 0%, 19.2%)
CIE-LABlab(47.20, 38.47, -55.27)
CIE-LCHlch(47.20, 67.34, 304.84°)
OKLaboklab(56.08% 0.0627 -0.1572)
OKLCHoklch(56.08% 0.169 291.7)
XYZxyz(22.8498, 16.1748, 60.2987)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CCE #B1CE5C
analogous
#5C78CE #795CCE #B25CCE
triadic
#795CCE #CE795C #5CCE79
tetradic
#795CCE #CE5C78 #B1CE5C #5CCEB2
square
#795CCE #CE5C78 #B1CE5C #5CCEB2
split-complementary
#795CCE #CEB25C #78CE5C
monochromatic
#412987 #5737B6 #795CCE #A08BDC #C6BAEA

Accessibility & contrast

On white

4.96
#795CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#795CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CCE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CCE#FFFFFF#000000##FFFFFF
##795CCE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#286ECB
Tritanopia (blue-blind)
#62748C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795cce;
/* rgb */ color: rgb(121, 92, 206);
/* oklch */ color: oklch(56.1% 0.169 291.7);
Tailwind
colors: {
  custom: {
    50: '#a58bde',
    500: '#795cce',
    950: '#000000',
  },
}
SCSS
$custom: #795cce;
$custom-light: #a58bde;
$custom-dark: #000000;
JSON
{
  "hex": "#795cce",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 255.263,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56084,
    "c": 0.16919,
    "h": 291.7
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#795CCE
secondary
#CEDAAC
accent
#DD4BB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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