#795BC9#795BC9

#795BC9 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.6% C 0.164 H 292.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#795BC9
RGBrgb(121, 91, 201)
HSLhsl(256, 50%, 57%)
HSVhsv(256, 55%, 79%)
CMYKcmyk(39.8%, 54.7%, 0%, 21.2%)
CIE-LABlab(46.66, 37.67, -53.26)
CIE-LCHlch(46.66, 65.24, 305.27°)
OKLaboklab(55.58% 0.0637 -0.1513)
OKLCHoklch(55.58% 0.164 292.8)
XYZxyz(22.1660, 15.7636, 57.1218)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BC9 #ABC95B
analogous
#5B74C9 #795BC9 #B05BC9
triadic
#795BC9 #C9795B #5BC979
tetradic
#795BC9 #C95B74 #ABC95B #5BC9B0
square
#795BC9 #C95B74 #ABC95B #5BC9B0
split-complementary
#795BC9 #C9B05B #74C95B
monochromatic
#412A80 #5939AE #795BC9 #9F89D8 #C4B7E7

Accessibility & contrast

On white

5.06
#795BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#795BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BC9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BC9#FFFFFF#000000##FFFFFF
##795BC91.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2670CD
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#647289
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795bc9;
/* rgb */ color: rgb(121, 91, 201);
/* oklch */ color: oklch(55.6% 0.164 292.8);
Tailwind
colors: {
  custom: {
    50: '#a48ada',
    500: '#795bc9',
    950: '#000000',
  },
}
SCSS
$custom: #795bc9;
$custom-light: #a48ada;
$custom-dark: #000000;
JSON
{
  "hex": "#795bc9",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 256.364,
    "s": 50.459,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55583,
    "c": 0.16415,
    "h": 292.8
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#795BC9
secondary
#CAD6AA
accent
#DA4EB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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