#795CBA#795CBA

#795CBA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.8% C 0.143 H 295.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#795CBA
RGBrgb(121, 92, 186)
HSLhsl(259, 41%, 55%)
HSVhsv(259, 51%, 73%)
CMYKcmyk(34.9%, 50.5%, 0%, 27.1%)
CIE-LABlab(45.99, 32.99, -45.65)
CIE-LCHlch(45.99, 56.33, 305.86°)
OKLaboklab(54.8% 0.0616 -0.1289)
OKLCHoklch(54.8% 0.143 295.5)
XYZxyz(20.5730, 15.2641, 48.3072)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CBA #9DBA5C
analogous
#5C6EBA #795CBA #A85CBA
triadic
#795CBA #BA795C #5CBA79
tetradic
#795CBA #BA5C6E #9DBA5C #5CBAA8
square
#795CBA #BA5C6E #9DBA5C #5CBAA8
split-complementary
#795CBA #BAA85C #6EBA5C
monochromatic
#422E6D #5C4098 #795CBA #9C87CC #C0B2DE

Accessibility & contrast

On white

5.18
#795CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#795CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CBA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CBA#FFFFFF#000000##FFFFFF
##795CBA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396EBD
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#6A6E82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795cba;
/* rgb */ color: rgb(121, 92, 186);
/* oklch */ color: oklch(54.8% 0.143 295.5);
Tailwind
colors: {
  custom: {
    50: '#a38bcf',
    500: '#795cba',
    950: '#000000',
  },
}
SCSS
$custom: #795cba;
$custom-light: #a38bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#795cba",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 258.511,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.14289,
    "h": 295.5
  },
  "luminance": 0.15264
}

Semantic roles & 50–950 ramp

primary
#795CBA
secondary
#C1CDA5
accent
#D057AB
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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