#795FDC#795FDC

#795FDC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.5% C 0.183 H 288.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#795FDC
RGBrgb(121, 95, 220)
HSLhsl(252, 64%, 62%)
HSVhsv(252, 57%, 86%)
CMYKcmyk(45%, 56.8%, 0%, 13.7%)
CIE-LABlab(48.78, 40.67, -60.72)
CIE-LCHlch(48.78, 73.08, 303.82°)
OKLaboklab(57.54% 0.0593 -0.1732)
OKLCHoklch(57.54% 0.183 288.9)
XYZxyz(24.8920, 17.4157, 69.7463)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FDC #C2DC5F
analogous
#5F84DC #795FDC #B85FDC
triadic
#795FDC #DC795F #5FDC79
tetradic
#795FDC #DC5F84 #C2DC5F #5FDCB8
square
#795FDC #DC5F84 #C2DC5F #5FDCB8
split-complementary
#795FDC #DCB85F #84DC5F
monochromatic
#3C239E #4F2ED0 #795FDC #A391E7 #CDC3F2

Accessibility & contrast

On white

4.68
#795FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#795FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FDC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FDC#FFFFFF#000000##FFFFFF
##795FDC1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A77E0
Deuteranopia (green-blind)
#1171D9
Tritanopia (blue-blind)
#5A7B94
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795fdc;
/* rgb */ color: rgb(121, 95, 220);
/* oklch */ color: oklch(57.5% 0.183 288.9);
Tailwind
colors: {
  custom: {
    50: '#a68de8',
    500: '#795fdc',
    950: '#000000',
  },
}
SCSS
$custom: #795fdc;
$custom-light: #a68de8;
$custom-dark: #000000;
JSON
{
  "hex": "#795fdc",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 252.48,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.18302,
    "h": 288.9
  },
  "luminance": 0.17417
}

Semantic roles & 50–950 ramp

primary
#795FDC
secondary
#D9E3B4
accent
#CC1AA7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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