#795DB0#795DB0

#795DB0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.4% C 0.128 H 297.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#795DB0
RGBrgb(121, 93, 176)
HSLhsl(260, 34%, 53%)
HSVhsv(260, 47%, 69%)
CMYKcmyk(31.3%, 47.2%, 0%, 31%)
CIE-LABlab(45.67, 29.74, -40.33)
CIE-LCHlch(45.67, 50.11, 306.41°)
OKLaboklab(54.37% 0.0591 -0.1134)
OKLCHoklch(54.37% 0.128 297.6)
XYZxyz(19.6341, 15.0280, 42.9322)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DB0 #94B05D
analogous
#5D6AB0 #795DB0 #A25DB0
triadic
#795DB0 #B0795D #5DB079
tetradic
#795DB0 #B05D6A #94B05D #5DB0A2
square
#795DB0 #B05D6A #94B05D #5DB0A2
split-complementary
#795DB0 #B0A25D #6AB05D
monochromatic
#413063 #5C448C #795DB0 #9B86C4 #BDAFD8

Accessibility & contrast

On white

5.24
#795DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#795DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DB0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DB0#FFFFFF#000000##FFFFFF
##795DB01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB3
Deuteranopia (green-blind)
#486BAE
Tritanopia (blue-blind)
#6D6C7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795db0;
/* rgb */ color: rgb(121, 93, 176);
/* oklch */ color: oklch(54.4% 0.128 297.6);
Tailwind
colors: {
  custom: {
    50: '#a28bc8',
    500: '#795db0',
    950: '#000000',
  },
}
SCSS
$custom: #795db0;
$custom-light: #a28bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#795db0",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 260.241,
    "s": 34.44,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54375,
    "c": 0.12786,
    "h": 297.6
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#795DB0
secondary
#BAC6A2
accent
#CB5DA6
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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