#795DF3#795DF3

#795DF3 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.214 H 286.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#795DF3
RGBrgb(121, 93, 243)
HSLhsl(251, 86%, 66%)
HSVhsv(251, 62%, 95%)
CMYKcmyk(50.2%, 61.7%, 0%, 4.7%)
CIE-LABlab(49.93, 48.39, -71.80)
CIE-LCHlch(49.93, 86.58, 303.98°)
OKLaboklab(58.88% 0.0605 -0.2058)
OKLCHoklch(58.88% 0.214 286.4)
XYZxyz(27.9724, 18.3633, 86.8472)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DF3 #D7F35D
analogous
#5D8CF3 #795DF3 #C45DF3
triadic
#795DF3 #F3795D #5DF379
tetradic
#795DF3 #F35D8C #D7F35D #5DF3C4
square
#795DF3 #F35D8C #D7F35D #5DF3C4
split-complementary
#795DF3 #F3C45D #8CF35D
monochromatic
#310FC7 #4A24EF #795DF3 #A896F7 #D7CFFB

Accessibility & contrast

On white

4.49
#795DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#795DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DF3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DF3#FFFFFF#000000##000000
##795DF31.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#4C819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795df3;
/* rgb */ color: rgb(121, 93, 243);
/* oklch */ color: oklch(58.9% 0.214 286.4);
Tailwind
colors: {
  custom: {
    50: '#a98cf8',
    500: '#795df3',
    950: '#000000',
  },
}
SCSS
$custom: #795df3;
$custom-light: #a98cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#795df3",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 251.2,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.21447,
    "h": 286.4
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#795DF3
secondary
#E5EFBD
accent
#E303B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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