#795AFD#795AFD

#795AFD is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.230 H 285.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#795AFD
RGBrgb(121, 90, 253)
HSLhsl(251, 98%, 67%)
HSVhsv(251, 64%, 99%)
CMYKcmyk(52.2%, 64.4%, 0%, 0.8%)
CIE-LABlab(50.06, 52.90, -77.17)
CIE-LCHlch(50.06, 93.56, 304.43°)
OKLaboklab(59.21% 0.0624 -0.2216)
OKLCHoklch(59.21% 0.23 285.7)
XYZxyz(29.2656, 18.4676, 94.9320)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AFD #DEFD5A
analogous
#5A8DFD #795AFD #CB5AFD
triadic
#795AFD #FD795A #5AFD79
tetradic
#795AFD #FD5A8D #DEFD5A #5AFDCB
square
#795AFD #FD5A8D #DEFD5A #5AFDCB
split-complementary
#795AFD #FDCB5A #8DFD5A
monochromatic
#2C03DA #481EFC #795AFD #AA96FE #DBD3FE

Accessibility & contrast

On white

4.47
#795AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#795AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795AFD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AFD#FFFFFF#000000##000000
##795AFD1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFF
Deuteranopia (green-blind)
#0072FA
Tritanopia (blue-blind)
#4383A4
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795afd;
/* rgb */ color: rgb(121, 90, 253);
/* oklch */ color: oklch(59.2% 0.230 285.7);
Tailwind
colors: {
  custom: {
    50: '#aa8aff',
    500: '#795afd',
    950: '#000000',
  },
}
SCSS
$custom: #795afd;
$custom-light: #aa8aff;
$custom-dark: #000000;
JSON
{
  "hex": "#795afd",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 251.411,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.23017,
    "h": 285.7
  },
  "luminance": 0.18469
}

Semantic roles & 50–950 ramp

primary
#795AFD
secondary
#E9F3C0
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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