#795DC9#795DC9

#795DC9 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.9% C 0.161 H 292.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#795DC9
RGBrgb(121, 93, 201)
HSLhsl(256, 50%, 58%)
HSVhsv(256, 54%, 79%)
CMYKcmyk(39.8%, 53.7%, 0%, 21.2%)
CIE-LABlab(47.12, 36.50, -52.53)
CIE-LCHlch(47.12, 63.97, 304.79°)
OKLaboklab(55.92% 0.0613 -0.1491)
OKLCHoklch(55.92% 0.161 292.3)
XYZxyz(22.3393, 16.1101, 57.1796)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DC9 #ADC95D
analogous
#5D77C9 #795DC9 #AF5DC9
triadic
#795DC9 #C9795D #5DC979
tetradic
#795DC9 #C95D77 #ADC95D #5DC9AF
square
#795DC9 #C95D77 #ADC95D #5DC9AF
split-complementary
#795DC9 #C9AF5D #77C95D
monochromatic
#412B81 #583AAF #795DC9 #9F8BD8 #C5B9E8

Accessibility & contrast

On white

4.97
#795DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#795DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DC9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DC9#FFFFFF#000000##FFFFFF
##795DC91.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CD
Deuteranopia (green-blind)
#316EC7
Tritanopia (blue-blind)
#64748A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795dc9;
/* rgb */ color: rgb(121, 93, 201);
/* oklch */ color: oklch(55.9% 0.161 292.3);
Tailwind
colors: {
  custom: {
    50: '#a48bda',
    500: '#795dc9',
    950: '#000000',
  },
}
SCSS
$custom: #795dc9;
$custom-light: #a48bda;
$custom-dark: #000000;
JSON
{
  "hex": "#795dc9",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 255.556,
    "s": 50,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.16122,
    "h": 292.3
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#795DC9
secondary
#CBD7AB
accent
#DA4EB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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