#795EB0#795EB0

#795EB0 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 54.6% C 0.126 H 297.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#795EB0
RGBrgb(121, 94, 176)
HSLhsl(260, 34%, 53%)
HSVhsv(260, 47%, 69%)
CMYKcmyk(31.3%, 46.6%, 0%, 31%)
CIE-LABlab(45.91, 29.15, -39.94)
CIE-LCHlch(45.91, 49.45, 306.12°)
OKLaboklab(54.56% 0.0578 -0.1122)
OKLCHoklch(54.56% 0.126 297.2)
XYZxyz(19.7224, 15.2047, 42.9616)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EB0 #95B05E
analogous
#5E6CB0 #795EB0 #A25EB0
triadic
#795EB0 #B0795E #5EB079
tetradic
#795EB0 #B05E6C #95B05E #5EB0A2
square
#795EB0 #B05E6C #95B05E #5EB0A2
split-complementary
#795EB0 #B0A25E #6CB05E
monochromatic
#413163 #5C458C #795EB0 #9B87C4 #BDB0D8

Accessibility & contrast

On white

5.20
#795EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#795EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EB0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EB0#FFFFFF#000000##FFFFFF
##795EB01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB3
Deuteranopia (green-blind)
#4A6CAE
Tritanopia (blue-blind)
#6D6D7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795eb0;
/* rgb */ color: rgb(121, 94, 176);
/* oklch */ color: oklch(54.6% 0.126 297.2);
Tailwind
colors: {
  custom: {
    50: '#a28cc8',
    500: '#795eb0',
    950: '#000000',
  },
}
SCSS
$custom: #795eb0;
$custom-light: #a28cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#795eb0",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 259.756,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.12623,
    "h": 297.2
  },
  "luminance": 0.15205
}

Semantic roles & 50–950 ramp

primary
#795EB0
secondary
#BBC7A3
accent
#CA5EA6
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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