#795EFB#795EFB

#795EFB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.223 H 285.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#795EFB
RGBrgb(121, 94, 251)
HSLhsl(250, 95%, 68%)
HSVhsv(250, 63%, 98%)
CMYKcmyk(51.8%, 62.5%, 0%, 1.6%)
CIE-LABlab(50.73, 50.13, -74.97)
CIE-LCHlch(50.73, 90.19, 303.77°)
OKLaboklab(59.65% 0.0589 -0.2151)
OKLCHoklch(59.65% 0.223 285.3)
XYZxyz(29.2952, 19.0338, 93.3783)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EFB #E0FB5E
analogous
#5E92FB #795EFB #C75EFB
triadic
#795EFB #FB795E #5EFB79
tetradic
#795EFB #FB5E92 #E0FB5E #5EFBC7
square
#795EFB #FB5E92 #E0FB5E #5EFBC7
split-complementary
#795EFB #FBC75E #92FB5E
monochromatic
#2A05D9 #4722FA #795EFB #AB9AFC #DCD5FE

Accessibility & contrast

On white

4.37
#795EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#795EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EFB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EFB#FFFFFF#000000##000000
##795EFB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074F8
Tritanopia (blue-blind)
#4584A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795efb;
/* rgb */ color: rgb(121, 94, 251);
/* oklch */ color: oklch(59.6% 0.223 285.3);
Tailwind
colors: {
  custom: {
    50: '#aa8dfe',
    500: '#795efb',
    950: '#000000',
  },
}
SCSS
$custom: #795efb;
$custom-light: #aa8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#795efb",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 250.318,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59645,
    "c": 0.223,
    "h": 285.3
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#795EFB
secondary
#EAF3C2
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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