#795CF3#795CF3

#795CF3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.216 H 286.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#795CF3
RGBrgb(121, 92, 243)
HSLhsl(252, 86%, 66%)
HSVhsv(252, 62%, 95%)
CMYKcmyk(50.2%, 62.1%, 0%, 4.7%)
CIE-LABlab(49.72, 48.94, -72.14)
CIE-LCHlch(49.72, 87.18, 304.15°)
OKLaboklab(58.73% 0.0614 -0.2068)
OKLCHoklch(58.73% 0.216 286.5)
XYZxyz(27.8852, 18.1889, 86.8181)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CF3 #D6F35C
analogous
#5C8AF3 #795CF3 #C45CF3
triadic
#795CF3 #F3795C #5CF379
tetradic
#795CF3 #F35C8A #D6F35C #5CF3C4
square
#795CF3 #F35C8A #D6F35C #5CF3C4
split-complementary
#795CF3 #F3C45C #8AF35C
monochromatic
#320FC6 #4A23EF #795CF3 #A895F7 #D7CEFB

Accessibility & contrast

On white

4.53
#795CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#795CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795CF3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CF3#FFFFFF#000000##000000
##795CF31.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#4C809F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795cf3;
/* rgb */ color: rgb(121, 92, 243);
/* oklch */ color: oklch(58.7% 0.216 286.5);
Tailwind
colors: {
  custom: {
    50: '#a98bf8',
    500: '#795cf3',
    950: '#000000',
  },
}
SCSS
$custom: #795cf3;
$custom-light: #a98bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#795cf3",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 243
  },
  "hsl": {
    "h": 251.523,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.2157,
    "h": 286.5
  },
  "luminance": 0.1819
}

Semantic roles & 50–950 ramp

primary
#795CF3
secondary
#E5EFBC
accent
#E303B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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