#795AB0#795AB0

#795AB0 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 53.8% C 0.133 H 298.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#795AB0
RGBrgb(121, 90, 176)
HSLhsl(262, 35%, 52%)
HSVhsv(262, 49%, 69%)
CMYKcmyk(31.3%, 48.9%, 0%, 31%)
CIE-LABlab(44.96, 31.52, -41.46)
CIE-LCHlch(44.96, 52.08, 307.24°)
OKLaboklab(53.84% 0.0633 -0.1167)
OKLCHoklch(53.84% 0.133 298.5)
XYZxyz(19.3759, 14.5117, 42.8461)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AB0 #91B05A
analogous
#5A66B0 #795AB0 #A45AB0
triadic
#795AB0 #B0795A #5AB079
tetradic
#795AB0 #B05A66 #91B05A #5AB0A4
square
#795AB0 #B05A66 #91B05A #5AB0A4
split-complementary
#795AB0 #B0A45A #66B05A
monochromatic
#412E61 #5C428A #795AB0 #9B83C4 #BCADD8

Accessibility & contrast

On white

5.38
#795AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#795AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AB0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AB0#FFFFFF#000000##FFFFFF
##795AB01.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB3
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#6E6A7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #795ab0;
/* rgb */ color: rgb(121, 90, 176);
/* oklch */ color: oklch(53.8% 0.133 298.5);
Tailwind
colors: {
  custom: {
    50: '#a289c8',
    500: '#795ab0',
    950: '#000000',
  },
}
SCSS
$custom: #795ab0;
$custom-light: #a289c8;
$custom-dark: #000000;
JSON
{
  "hex": "#795ab0",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 176
  },
  "hsl": {
    "h": 261.628,
    "s": 35.246,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.13273,
    "h": 298.5
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#795AB0
secondary
#B8C6A0
accent
#CB5DA3
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #795AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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