#795BF0#795BF0

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

Color values

HEX#795BF0
RGBrgb(121, 91, 240)
HSLhsl(252, 83%, 65%)
HSVhsv(252, 62%, 94%)
CMYKcmyk(49.6%, 62.1%, 0%, 5.9%)
CIE-LABlab(49.30, 48.64, -71.15)
CIE-LCHlch(49.30, 86.19, 304.36°)
OKLaboklab(58.35% 0.0627 -0.2039)
OKLCHoklch(58.35% 0.213 287.1)
XYZxyz(27.3498, 17.8371, 84.4230)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BF0 #D2F05B
analogous
#5B87F0 #795BF0 #C45BF0
triadic
#795BF0 #F0795B #5BF079
tetradic
#795BF0 #F05B87 #D2F05B #5BF0C4
square
#795BF0 #F05B87 #D2F05B #5BF0C4
split-complementary
#795BF0 #F0C45B #87F05B
monochromatic
#3411BF #4B23EB #795BF0 #A793F5 #D5CBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795BF0#FFFFFF#000000##FFFFFF
##795BF01.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)
#0079F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#4E7F9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795bf0;
/* rgb */ color: rgb(121, 91, 240);
/* oklch */ color: oklch(58.4% 0.213 287.1);
Tailwind
colors: {
  custom: {
    50: '#a98bf6',
    500: '#795bf0',
    950: '#000000',
  },
}
SCSS
$custom: #795bf0;
$custom-light: #a98bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#795bf0",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 240
  },
  "hsl": {
    "h": 252.081,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.21328,
    "h": 287.1
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#795BF0
secondary
#E3EDBA
accent
#E006B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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