#795DCA#795DCA

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

Color values

HEX#795DCA
RGBrgb(121, 93, 202)
HSLhsl(255, 51%, 58%)
HSVhsv(255, 54%, 79%)
CMYKcmyk(40.1%, 54%, 0%, 20.8%)
CIE-LABlab(47.18, 36.78, -53.01)
CIE-LCHlch(47.18, 64.52, 304.75°)
OKLaboklab(55.99% 0.0613 -0.1505)
OKLCHoklch(55.99% 0.163 292.2)
XYZxyz(22.4573, 16.1573, 57.8011)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DCA #AECA5D
analogous
#5D77CA #795DCA #B05DCA
triadic
#795DCA #CA795D #5DCA79
tetradic
#795DCA #CA5D77 #AECA5D #5DCAB0
square
#795DCA #CA5D77 #AECA5D #5DCAB0
split-complementary
#795DCA #CAB05D #77CA5D
monochromatic
#412B82 #583AB0 #795DCA #9F8BD9 #C5B9E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795DCA#FFFFFF#000000##FFFFFF
##795DCA1.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)
#2A71CE
Deuteranopia (green-blind)
#306EC8
Tritanopia (blue-blind)
#63748A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795dca;
/* rgb */ color: rgb(121, 93, 202);
/* oklch */ color: oklch(56.0% 0.163 292.2);
Tailwind
colors: {
  custom: {
    50: '#a48bdb',
    500: '#795dca',
    950: '#000000',
  },
}
SCSS
$custom: #795dca;
$custom-light: #a48bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#795dca",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 255.413,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.16253,
    "h": 292.2
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#795DCA
secondary
#CCD7AC
accent
#DA4EB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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