#795FBF#795FBF

#795FBF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.145 H 293.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#795FBF
RGBrgb(121, 95, 191)
HSLhsl(256, 43%, 56%)
HSVhsv(256, 50%, 75%)
CMYKcmyk(36.6%, 50.3%, 0%, 25.1%)
CIE-LABlab(46.99, 32.58, -46.97)
CIE-LCHlch(46.99, 57.16, 304.74°)
OKLaboklab(55.63% 0.0581 -0.1328)
OKLCHoklch(55.63% 0.145 293.6)
XYZxyz(21.3789, 16.0105, 51.2441)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FBF #A5BF5F
analogous
#5F75BF #795FBF #A95FBF
triadic
#795FBF #BF795F #5FBF79
tetradic
#795FBF #BF5F75 #A5BF5F #5FBFA9
square
#795FBF #BF5F75 #A5BF5F #5FBFA9
split-complementary
#795FBF #BFA95F #75BF5F
monochromatic
#422F75 #5A40A1 #795FBF #9E8BD0 #C2B6E2

Accessibility & contrast

On white

5.00
#795FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#795FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FBF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FBF#FFFFFF#000000##FFFFFF
##795FBF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C2
Deuteranopia (green-blind)
#3F6EBD
Tritanopia (blue-blind)
#687286
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795fbf;
/* rgb */ color: rgb(121, 95, 191);
/* oklch */ color: oklch(55.6% 0.145 293.6);
Tailwind
colors: {
  custom: {
    50: '#a38dd3',
    500: '#795fbf',
    950: '#000000',
  },
}
SCSS
$custom: #795fbf;
$custom-light: #a38dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#795fbf",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 256.25,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.14494,
    "h": 293.6
  },
  "luminance": 0.16011
}

Semantic roles & 50–950 ramp

primary
#795FBF
secondary
#C6D1A9
accent
#D355B1
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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