#795DF6#795DF6

#795DF6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.218 H 286.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#795DF6
RGBrgb(121, 93, 246)
HSLhsl(251, 89%, 66%)
HSVhsv(251, 62%, 96%)
CMYKcmyk(50.8%, 62.2%, 0%, 3.5%)
CIE-LABlab(50.15, 49.25, -73.12)
CIE-LCHlch(50.15, 88.16, 303.96°)
OKLaboklab(59.11% 0.0602 -0.2096)
OKLCHoklch(59.11% 0.218 286)
XYZxyz(28.4291, 18.5460, 89.2527)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DF6 #DAF65D
analogous
#5D8EF6 #795DF6 #C55DF6
triadic
#795DF6 #F6795D #5DF679
tetradic
#795DF6 #F65D8E #DAF65D #5DF6C5
square
#795DF6 #F65D8E #DAF65D #5DF6C5
split-complementary
#795DF6 #F6C55D #8EF65D
monochromatic
#2F0BCD #4923F3 #795DF6 #A997F9 #D9D1FC

Accessibility & contrast

On white

4.46
#795DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#795DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DF6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DF6#FFFFFF#000000##000000
##795DF61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0073F3
Tritanopia (blue-blind)
#4982A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795df6;
/* rgb */ color: rgb(121, 93, 246);
/* oklch */ color: oklch(59.1% 0.218 286.0);
Tailwind
colors: {
  custom: {
    50: '#a98cfa',
    500: '#795df6',
    950: '#000000',
  },
}
SCSS
$custom: #795df6;
$custom-light: #a98cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#795df6",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 250.98,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59111,
    "c": 0.21813,
    "h": 286
  },
  "luminance": 0.18547
}

Semantic roles & 50–950 ramp

primary
#795DF6
secondary
#E7F0BF
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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