#795FD6#795FD6

#795FD6 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.1% C 0.175 H 289.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#795FD6
RGBrgb(121, 95, 214)
HSLhsl(253, 59%, 61%)
HSVhsv(253, 56%, 84%)
CMYKcmyk(43.5%, 55.6%, 0%, 16.1%)
CIE-LABlab(48.39, 38.97, -57.93)
CIE-LCHlch(48.39, 69.82, 303.93°)
OKLaboklab(57.12% 0.0592 -0.165)
OKLCHoklch(57.12% 0.175 289.8)
XYZxyz(24.1116, 17.1036, 65.6362)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FD6 #BCD65F
analogous
#5F80D6 #795FD6 #B45FD6
triadic
#795FD6 #D6795F #5FD679
tetradic
#795FD6 #D65F80 #BCD65F #5FD6B4
square
#795FD6 #D65F80 #BCD65F #5FD6B4
split-complementary
#795FD6 #D6B45F #80D65F
monochromatic
#3E2695 #5333C5 #795FD6 #A290E2 #CBC0EF

Accessibility & contrast

On white

4.75
#795FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#795FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FD6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FD6#FFFFFF#000000##FFFFFF
##795FD61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C75DA
Deuteranopia (green-blind)
#2170D3
Tritanopia (blue-blind)
#5E7991
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795fd6;
/* rgb */ color: rgb(121, 95, 214);
/* oklch */ color: oklch(57.1% 0.175 289.8);
Tailwind
colors: {
  custom: {
    50: '#a58de3',
    500: '#795fd6',
    950: '#000000',
  },
}
SCSS
$custom: #795fd6;
$custom-light: #a58de3;
$custom-dark: #000000;
JSON
{
  "hex": "#795fd6",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 214
  },
  "hsl": {
    "h": 253.109,
    "s": 59.204,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57124,
    "c": 0.17529,
    "h": 289.8
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#795FD6
secondary
#D5DFB2
accent
#C71FA2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #795FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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