#795FC4#795FC4

#795FC4 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 55.9% C 0.152 H 292.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#795FC4
RGBrgb(121, 95, 196)
HSLhsl(255, 46%, 57%)
HSVhsv(255, 52%, 77%)
CMYKcmyk(38.3%, 51.5%, 0%, 23.1%)
CIE-LABlab(47.28, 33.95, -49.39)
CIE-LCHlch(47.28, 59.93, 304.50°)
OKLaboklab(55.94% 0.0585 -0.1399)
OKLCHoklch(55.94% 0.152 292.7)
XYZxyz(21.9385, 16.2344, 54.1915)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FC4 #AAC45F
analogous
#5F77C4 #795FC4 #AC5FC4
triadic
#795FC4 #C4795F #5FC479
tetradic
#795FC4 #C45F77 #AAC45F #5FC4AC
square
#795FC4 #C45F77 #AAC45F #5FC4AC
split-complementary
#795FC4 #C4AC5F #77C45F
monochromatic
#412D7B #593EA8 #795FC4 #9E8CD4 #C4B8E5

Accessibility & contrast

On white

4.94
#795FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#795FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FC4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FC4#FFFFFF#000000##FFFFFF
##795FC41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3671C8
Deuteranopia (green-blind)
#3A6EC2
Tritanopia (blue-blind)
#667388
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795fc4;
/* rgb */ color: rgb(121, 95, 196);
/* oklch */ color: oklch(55.9% 0.152 292.7);
Tailwind
colors: {
  custom: {
    50: '#a48dd6',
    500: '#795fc4',
    950: '#000000',
  },
}
SCSS
$custom: #795fc4;
$custom-light: #a48dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#795fc4",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 255.446,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.15163,
    "h": 292.7
  },
  "luminance": 0.16235
}

Semantic roles & 50–950 ramp

primary
#795FC4
secondary
#C9D4AB
accent
#D652B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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