#795CC4#795CC4

#795CC4 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.4% C 0.156 H 293.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#795CC4
RGBrgb(121, 92, 196)
HSLhsl(257, 47%, 56%)
HSVhsv(257, 53%, 77%)
CMYKcmyk(38.3%, 53.1%, 0%, 23.1%)
CIE-LABlab(46.58, 35.71, -50.51)
CIE-LCHlch(46.58, 61.86, 305.26°)
OKLaboklab(55.43% 0.0623 -0.1432)
OKLCHoklch(55.43% 0.156 293.5)
XYZxyz(21.6735, 15.7043, 54.1032)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CC4 #A7C45C
analogous
#5C73C4 #795CC4 #AD5CC4
triadic
#795CC4 #C4795C #5CC479
tetradic
#795CC4 #C45C73 #A7C45C #5CC4AD
square
#795CC4 #C45C73 #A7C45C #5CC4AD
split-complementary
#795CC4 #C4AD5C #73C45C
monochromatic
#422C7A #5A3CA7 #795CC4 #9E89D4 #C3B6E5

Accessibility & contrast

On white

5.07
#795CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#795CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CC4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CC4#FFFFFF#000000##FFFFFF
##795CC41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F70C8
Deuteranopia (green-blind)
#366DC2
Tritanopia (blue-blind)
#667187
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795cc4;
/* rgb */ color: rgb(121, 92, 196);
/* oklch */ color: oklch(55.4% 0.156 293.5);
Tailwind
colors: {
  custom: {
    50: '#a48bd6',
    500: '#795cc4',
    950: '#000000',
  },
}
SCSS
$custom: #795cc4;
$custom-light: #a48bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#795cc4",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 256.731,
    "s": 46.847,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.15613,
    "h": 293.5
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#795CC4
secondary
#C7D3A9
accent
#D651B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #795CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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