#795CA0#795CA0

#795CA0 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.3% C 0.108 H 302.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#795CA0
RGBrgb(121, 92, 160)
HSLhsl(266, 27%, 49%)
HSVhsv(266, 43%, 63%)
CMYKcmyk(24.4%, 42.5%, 0%, 37.3%)
CIE-LABlab(44.60, 26.22, -32.59)
CIE-LCHlch(44.60, 41.83, 308.82°)
OKLaboklab(53.3% 0.058 -0.0909)
OKLCHoklch(53.3% 0.108 302.6)
XYZxyz(18.0561, 14.2573, 35.0516)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CA0 #83A05C
analogous
#5C61A0 #795CA0 #9B5CA0
triadic
#795CA0 #A0795C #5CA079
tetradic
#795CA0 #A05C61 #83A05C #5CA09B
square
#795CA0 #A05C61 #83A05C #5CA09B
split-complementary
#795CA0 #A09B5C #61A05C
monochromatic
#3E2F52 #5C4679 #795CA0 #9982B7 #B9A9CD

Accessibility & contrast

On white

5.45
#795CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#795CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CA0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CA0#FFFFFF#000000##FFFFFF
##795CA01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A3
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#726776
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #795ca0;
/* rgb */ color: rgb(121, 92, 160);
/* oklch */ color: oklch(53.3% 0.108 302.6);
Tailwind
colors: {
  custom: {
    50: '#a18abc',
    500: '#795ca0',
    950: '#000000',
  },
}
SCSS
$custom: #795ca0;
$custom-light: #a18abc;
$custom-dark: #000000;
JSON
{
  "hex": "#795ca0",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 265.588,
    "s": 26.984,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.1078,
    "h": 302.6
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#795CA0
secondary
#AEBC9C
accent
#C3649B
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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