#795AF3#795AF3

#795AF3 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.218 H 286.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#795AF3
RGBrgb(121, 90, 243)
HSLhsl(252, 86%, 65%)
HSVhsv(252, 63%, 95%)
CMYKcmyk(50.2%, 63%, 0%, 4.7%)
CIE-LABlab(49.31, 50.05, -72.81)
CIE-LCHlch(49.31, 88.36, 304.50°)
OKLaboklab(58.43% 0.0634 -0.2088)
OKLCHoklch(58.43% 0.218 286.9)
XYZxyz(27.7142, 17.8470, 86.7612)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AF3 #D4F35A
analogous
#5A87F3 #795AF3 #C65AF3
triadic
#795AF3 #F3795A #5AF379
tetradic
#795AF3 #F35A87 #D4F35A #5AF3C6
square
#795AF3 #F35A87 #D4F35A #5AF3C6
split-complementary
#795AF3 #F3C65A #87F35A
monochromatic
#330EC4 #4B21EF #795AF3 #A793F7 #D6CCFB

Accessibility & contrast

On white

4.60
#795AF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#795AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795AF3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AF3#FFFFFF#000000##FFFFFF
##795AF31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4C7F9E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795af3;
/* rgb */ color: rgb(121, 90, 243);
/* oklch */ color: oklch(58.4% 0.218 286.9);
Tailwind
colors: {
  custom: {
    50: '#a98af8',
    500: '#795af3',
    950: '#000000',
  },
}
SCSS
$custom: #795af3;
$custom-light: #a98af8;
$custom-dark: #000000;
JSON
{
  "hex": "#795af3",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 252.157,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.21817,
    "h": 286.9
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#795AF3
secondary
#E4EEBB
accent
#E303B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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