#795CF1#795CF1

#795CF1 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.213 H 286.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#795CF1
RGBrgb(121, 92, 241)
HSLhsl(252, 84%, 65%)
HSVhsv(252, 62%, 95%)
CMYKcmyk(49.8%, 61.8%, 0%, 5.5%)
CIE-LABlab(49.58, 48.37, -71.26)
CIE-LCHlch(49.58, 86.12, 304.17°)
OKLaboklab(58.58% 0.0616 -0.2042)
OKLCHoklch(58.58% 0.213 286.8)
XYZxyz(27.5848, 18.0688, 85.2362)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CF1 #D4F15C
analogous
#5C89F1 #795CF1 #C45CF1
triadic
#795CF1 #F1795C #5CF179
tetradic
#795CF1 #F15C89 #D4F15C #5CF1C4
square
#795CF1 #F15C89 #D4F15C #5CF1C4
split-complementary
#795CF1 #F1C45C #89F15C
monochromatic
#3311C2 #4B24EC #795CF1 #A794F6 #D6CDFB

Accessibility & contrast

On white

4.55
#795CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#795CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795CF1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CF1#FFFFFF#000000##000000
##795CF11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF6
Deuteranopia (green-blind)
#0072EE
Tritanopia (blue-blind)
#4D809E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795cf1;
/* rgb */ color: rgb(121, 92, 241);
/* oklch */ color: oklch(58.6% 0.213 286.8);
Tailwind
colors: {
  custom: {
    50: '#a98bf7',
    500: '#795cf1',
    950: '#000000',
  },
}
SCSS
$custom: #795cf1;
$custom-light: #a98bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#795cf1",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 251.678,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.21326,
    "h": 286.8
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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