#795FC5#795FC5

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

Color values

HEX#795FC5
RGBrgb(121, 95, 197)
HSLhsl(255, 47%, 57%)
HSVhsv(255, 52%, 77%)
CMYKcmyk(38.6%, 51.8%, 0%, 22.7%)
CIE-LABlab(47.34, 34.22, -49.87)
CIE-LCHlch(47.34, 60.49, 304.46°)
OKLaboklab(56.01% 0.0586 -0.1413)
OKLCHoklch(56.01% 0.153 292.5)
XYZxyz(22.0527, 16.2800, 54.7930)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FC5 #ABC55F
analogous
#5F78C5 #795FC5 #AC5FC5
triadic
#795FC5 #C5795F #5FC579
tetradic
#795FC5 #C55F78 #ABC55F #5FC5AC
square
#795FC5 #C55F78 #ABC55F #5FC5AC
split-complementary
#795FC5 #C5AC5F #78C55F
monochromatic
#412D7C #593DA9 #795FC5 #9F8CD5 #C4B9E6

Accessibility & contrast

On white

4.93
#795FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#795FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FC5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FC5#FFFFFF#000000##FFFFFF
##795FC51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3572C9
Deuteranopia (green-blind)
#396EC3
Tritanopia (blue-blind)
#657489
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795fc5;
/* rgb */ color: rgb(121, 95, 197);
/* oklch */ color: oklch(56.0% 0.153 292.5);
Tailwind
colors: {
  custom: {
    50: '#a48dd7',
    500: '#795fc5',
    950: '#000000',
  },
}
SCSS
$custom: #795fc5;
$custom-light: #a48dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#795fc5",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 255.294,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56008,
    "c": 0.15296,
    "h": 292.5
  },
  "luminance": 0.16281
}

Semantic roles & 50–950 ramp

primary
#795FC5
secondary
#CAD5AB
accent
#D651B5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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