#795EAD#795EAD

#795EAD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.4% C 0.122 H 298.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#795EAD
RGBrgb(121, 94, 173)
HSLhsl(261, 33%, 52%)
HSVhsv(261, 46%, 68%)
CMYKcmyk(30.1%, 45.7%, 0%, 32.2%)
CIE-LABlab(45.75, 28.36, -38.44)
CIE-LCHlch(45.75, 47.77, 306.42°)
OKLaboklab(54.38% 0.0573 -0.1079)
OKLCHoklch(54.38% 0.122 298)
XYZxyz(19.4289, 15.0873, 41.4156)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EAD #92AD5E
analogous
#5E6BAD #795EAD #A05EAD
triadic
#795EAD #AD795E #5EAD79
tetradic
#795EAD #AD5E6B #92AD5E #5EADA0
square
#795EAD #AD5E6B #92AD5E #5EADA0
split-complementary
#795EAD #ADA05E #6BAD5E
monochromatic
#413160 #5C4588 #795EAD #9B87C2 #BCAFD6

Accessibility & contrast

On white

5.23
#795EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#795EAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EAD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EAD#FFFFFF#000000##FFFFFF
##795EAD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CB0
Deuteranopia (green-blind)
#4B6CAB
Tritanopia (blue-blind)
#6E6C7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #795ead;
/* rgb */ color: rgb(121, 94, 173);
/* oklch */ color: oklch(54.4% 0.122 298.0);
Tailwind
colors: {
  custom: {
    50: '#a28cc6',
    500: '#795ead',
    950: '#000000',
  },
}
SCSS
$custom: #795ead;
$custom-light: #a28cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#795ead",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 260.506,
    "s": 32.51,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.12214,
    "h": 298
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#795EAD
secondary
#B9C5A2
accent
#C95FA5
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #795EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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