#795FC0#795FC0

#795FC0 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.146 H 293.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#795FC0
RGBrgb(121, 95, 192)
HSLhsl(256, 43%, 56%)
HSVhsv(256, 51%, 75%)
CMYKcmyk(37%, 50.5%, 0%, 24.7%)
CIE-LABlab(47.05, 32.85, -47.46)
CIE-LCHlch(47.05, 57.72, 304.69°)
OKLaboklab(55.69% 0.0582 -0.1342)
OKLCHoklch(55.69% 0.146 293.4)
XYZxyz(21.4893, 16.0547, 51.8256)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FC0 #A6C05F
analogous
#5F76C0 #795FC0 #AA5FC0
triadic
#795FC0 #C0795F #5FC079
tetradic
#795FC0 #C05F76 #A6C05F #5FC0AA
square
#795FC0 #C05F76 #A6C05F #5FC0AA
split-complementary
#795FC0 #C0AA5F #76C05F
monochromatic
#422F76 #5A40A2 #795FC0 #9E8BD1 #C3B7E3

Accessibility & contrast

On white

4.99
#795FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#795FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FC0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FC0#FFFFFF#000000##FFFFFF
##795FC01.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3971C3
Deuteranopia (green-blind)
#3E6EBE
Tritanopia (blue-blind)
#687286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795fc0;
/* rgb */ color: rgb(121, 95, 192);
/* oklch */ color: oklch(55.7% 0.146 293.4);
Tailwind
colors: {
  custom: {
    50: '#a38dd3',
    500: '#795fc0',
    950: '#000000',
  },
}
SCSS
$custom: #795fc0;
$custom-light: #a38dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#795fc0",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 256.082,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.14628,
    "h": 293.4
  },
  "luminance": 0.16055
}

Semantic roles & 50–950 ramp

primary
#795FC0
secondary
#C7D1A9
accent
#D355B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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