#795FDE#795FDE

#795FDE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.186 H 288.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#795FDE
RGBrgb(121, 95, 222)
HSLhsl(252, 66%, 62%)
HSVhsv(252, 57%, 87%)
CMYKcmyk(45.5%, 57.2%, 0%, 12.9%)
CIE-LABlab(48.91, 41.24, -61.64)
CIE-LCHlch(48.91, 74.16, 303.79°)
OKLaboklab(57.68% 0.0593 -0.1759)
OKLCHoklch(57.68% 0.186 288.6)
XYZxyz(25.1584, 17.5223, 71.1496)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FDE #C4DE5F
analogous
#5F85DE #795FDE #B85FDE
triadic
#795FDE #DE795F #5FDE79
tetradic
#795FDE #DE5F85 #C4DE5F #5FDEB8
square
#795FDE #DE5F85 #C4DE5F #5FDEB8
split-complementary
#795FDE #DEB85F #85DE5F
monochromatic
#3B21A1 #4F2CD4 #795FDE #A392E8 #CEC4F3

Accessibility & contrast

On white

4.66
#795FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#795FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795FDE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FDE#FFFFFF#000000##FFFFFF
##795FDE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#0771DB
Tritanopia (blue-blind)
#597B95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795fde;
/* rgb */ color: rgb(121, 95, 222);
/* oklch */ color: oklch(57.7% 0.186 288.6);
Tailwind
colors: {
  custom: {
    50: '#a68de9',
    500: '#795fde',
    950: '#000000',
  },
}
SCSS
$custom: #795fde;
$custom-light: #a68de9;
$custom-dark: #000000;
JSON
{
  "hex": "#795fde",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 252.283,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57675,
    "c": 0.18558,
    "h": 288.6
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#795FDE
secondary
#DAE4B5
accent
#CE18A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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