#795CBD#795CBD

#795CBD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.147 H 294.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#795CBD
RGBrgb(121, 92, 189)
HSLhsl(258, 42%, 55%)
HSVhsv(258, 51%, 74%)
CMYKcmyk(36%, 51.3%, 0%, 25.9%)
CIE-LABlab(46.17, 33.80, -47.12)
CIE-LCHlch(46.17, 57.99, 305.66°)
OKLaboklab(54.98% 0.0618 -0.1332)
OKLCHoklch(54.98% 0.147 294.9)
XYZxyz(20.8953, 15.3930, 50.0045)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CBD #A0BD5C
analogous
#5C70BD #795CBD #A95CBD
triadic
#795CBD #BD795C #5CBD79
tetradic
#795CBD #BD5C70 #A0BD5C #5CBDA9
square
#795CBD #BD5C70 #A0BD5C #5CBDA9
split-complementary
#795CBD #BDA95C #70BD5C
monochromatic
#422E71 #5B3F9C #795CBD #9D88CF #C1B3E0

Accessibility & contrast

On white

5.15
#795CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#795CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CBD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CBD#FFFFFF#000000##FFFFFF
##795CBD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#696F84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795cbd;
/* rgb */ color: rgb(121, 92, 189);
/* oklch */ color: oklch(55.0% 0.147 294.9);
Tailwind
colors: {
  custom: {
    50: '#a38bd1',
    500: '#795cbd',
    950: '#000000',
  },
}
SCSS
$custom: #795cbd;
$custom-light: #a38bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#795cbd",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 257.938,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.14688,
    "h": 294.9
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#795CBD
secondary
#C3CFA6
accent
#D256AD
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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