#795DF2#795DF2

#795DF2 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.213 H 286.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#795DF2
RGBrgb(121, 93, 242)
HSLhsl(251, 85%, 66%)
HSVhsv(251, 62%, 95%)
CMYKcmyk(50%, 61.6%, 0%, 5.1%)
CIE-LABlab(49.86, 48.10, -71.36)
CIE-LCHlch(49.86, 86.06, 303.98°)
OKLaboklab(58.81% 0.0605 -0.2045)
OKLCHoklch(58.81% 0.213 286.5)
XYZxyz(27.8218, 18.3031, 86.0541)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DF2 #D6F25D
analogous
#5D8BF2 #795DF2 #C35DF2
triadic
#795DF2 #F2795D #5DF279
tetradic
#795DF2 #F25D8B #D6F25D #5DF2C3
square
#795DF2 #F25D8B #D6F25D #5DF2C3
split-complementary
#795DF2 #F2C35D #8BF25D
monochromatic
#3210C5 #4A24ED #795DF2 #A896F7 #D7CEFB

Accessibility & contrast

On white

4.51
#795DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#795DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DF2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DF2#FFFFFF#000000##000000
##795DF21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795df2;
/* rgb */ color: rgb(121, 93, 242);
/* oklch */ color: oklch(58.8% 0.213 286.5);
Tailwind
colors: {
  custom: {
    50: '#a98cf7',
    500: '#795df2',
    950: '#000000',
  },
}
SCSS
$custom: #795df2;
$custom-light: #a98cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#795df2",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 251.275,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58809,
    "c": 0.21324,
    "h": 286.5
  },
  "luminance": 0.18304
}

Semantic roles & 50–950 ramp

primary
#795DF2
secondary
#E5EEBD
accent
#E204B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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