#795CA2#795CA2

#795CA2 is a mid, moderate violet. Relative luminance 0.143; OKLCH L 53.4% C 0.111 H 301.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#795CA2
RGBrgb(121, 92, 162)
HSLhsl(265, 28%, 50%)
HSVhsv(265, 43%, 64%)
CMYKcmyk(25.3%, 43.2%, 0%, 36.5%)
CIE-LABlab(44.70, 26.73, -33.62)
CIE-LCHlch(44.70, 42.95, 308.49°)
OKLaboklab(53.41% 0.0584 -0.0938)
OKLCHoklch(53.41% 0.111 301.9)
XYZxyz(18.2325, 14.3279, 35.9804)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CA2 #85A25C
analogous
#5C62A2 #795CA2 #9C5CA2
triadic
#795CA2 #A2795C #5CA279
tetradic
#795CA2 #A25C62 #85A25C #5CA29C
square
#795CA2 #A25C62 #85A25C #5CA29C
split-complementary
#795CA2 #A29C5C #62A25C
monochromatic
#3F3054 #5C467B #795CA2 #9983B8 #B9AACF

Accessibility & contrast

On white

5.43
#795CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#795CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CA2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CA2#FFFFFF#000000##FFFFFF
##795CA21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A69A5
Deuteranopia (green-blind)
#5069A0
Tritanopia (blue-blind)
#726877
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795ca2;
/* rgb */ color: rgb(121, 92, 162);
/* oklch */ color: oklch(53.4% 0.111 301.9);
Tailwind
colors: {
  custom: {
    50: '#a18abe',
    500: '#795ca2',
    950: '#000000',
  },
}
SCSS
$custom: #795ca2;
$custom-light: #a18abe;
$custom-dark: #000000;
JSON
{
  "hex": "#795ca2",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 264.857,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.11052,
    "h": 301.9
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#795CA2
secondary
#B0BD9D
accent
#C4649C
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C12
muted
#7F7D81

Preview Lab

Preview with #795CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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