#795DFD#795DFD

#795DFD is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.227 H 285.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#795DFD
RGBrgb(121, 93, 253)
HSLhsl(251, 98%, 68%)
HSVhsv(251, 63%, 99%)
CMYKcmyk(52.2%, 63.2%, 0%, 0.8%)
CIE-LABlab(50.67, 51.26, -76.18)
CIE-LCHlch(50.67, 91.82, 303.94°)
OKLaboklab(59.65% 0.0596 -0.2186)
OKLCHoklch(59.65% 0.227 285.2)
XYZxyz(29.5238, 18.9839, 95.0180)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DFD #E1FD5D
analogous
#5D91FD #795DFD #C95DFD
triadic
#795DFD #FD795D #5DFD79
tetradic
#795DFD #FD5D91 #E1FD5D #5DFDC9
square
#795DFD #FD5D91 #E1FD5D #5DFDC9
split-complementary
#795DFD #FDC95D #91FD5D
monochromatic
#2903DD #4721FC #795DFD #AB99FE #DDD6FE

Accessibility & contrast

On white

4.38
#795DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#795DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DFD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DFD#FFFFFF#000000##000000
##795DFD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#4384A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795dfd;
/* rgb */ color: rgb(121, 93, 253);
/* oklch */ color: oklch(59.6% 0.227 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa8cff',
    500: '#795dfd',
    950: '#000000',
  },
}
SCSS
$custom: #795dfd;
$custom-light: #aa8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#795dfd",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 250.5,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.22661,
    "h": 285.2
  },
  "luminance": 0.18985
}

Semantic roles & 50–950 ramp

primary
#795DFD
secondary
#EBF4C2
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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