#795FF3#795FF3

#795FF3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.2% C 0.212 H 286.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#795FF3
RGBrgb(121, 95, 243)
HSLhsl(251, 86%, 66%)
HSVhsv(251, 61%, 95%)
CMYKcmyk(50.2%, 60.9%, 0%, 4.7%)
CIE-LABlab(50.36, 47.27, -71.11)
CIE-LCHlch(50.36, 85.39, 303.61°)
OKLaboklab(59.19% 0.0585 -0.2037)
OKLCHoklch(59.19% 0.212 286)
XYZxyz(28.1502, 18.7190, 86.9065)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FF3 #D9F35F
analogous
#5F8FF3 #795FF3 #C35FF3
triadic
#795FF3 #F3795F #5FF379
tetradic
#795FF3 #F35F8F #D9F35F #5FF3C3
square
#795FF3 #F35F8F #D9F35F #5FF3C3
split-complementary
#795FF3 #F3C35F #8FF35F
monochromatic
#300FC9 #4926EF #795FF3 #A998F7 #D8D1FC

Accessibility & contrast

On white

4.43
#795FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#795FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FF3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FF3#FFFFFF#000000##000000
##795FF31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#4B82A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795ff3;
/* rgb */ color: rgb(121, 95, 243);
/* oklch */ color: oklch(59.2% 0.212 286.0);
Tailwind
colors: {
  custom: {
    50: '#a98df8',
    500: '#795ff3',
    950: '#000000',
  },
}
SCSS
$custom: #795ff3;
$custom-light: #a98df8;
$custom-dark: #000000;
JSON
{
  "hex": "#795ff3",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 250.541,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.21197,
    "h": 286
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#795FF3
secondary
#E7EFBF
accent
#E303BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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