#795EFC#795EFC

#795EFC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.224 H 285.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#795EFC
RGBrgb(121, 94, 252)
HSLhsl(250, 96%, 68%)
HSVhsv(250, 63%, 99%)
CMYKcmyk(52%, 62.7%, 0%, 1.2%)
CIE-LABlab(50.80, 50.42, -75.41)
CIE-LCHlch(50.80, 90.71, 303.77°)
OKLaboklab(59.72% 0.0588 -0.2164)
OKLCHoklch(59.72% 0.224 285.2)
XYZxyz(29.4533, 19.0971, 94.2107)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EFC #E1FC5E
analogous
#5E92FC #795EFC #C85EFC
triadic
#795EFC #FC795E #5EFC79
tetradic
#795EFC #FC5E92 #E1FC5E #5EFCC8
square
#795EFC #FC5E92 #E1FC5E #5EFCC8
split-complementary
#795EFC #FCC85E #92FC5E
monochromatic
#2904DC #4722FB #795EFC #AB9AFD #DDD6FE

Accessibility & contrast

On white

4.36
#795EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#795EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EFC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EFC#FFFFFF#000000##000000
##795EFC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074F9
Tritanopia (blue-blind)
#4485A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795efc;
/* rgb */ color: rgb(121, 94, 252);
/* oklch */ color: oklch(59.7% 0.224 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa8dfe',
    500: '#795efc',
    950: '#000000',
  },
}
SCSS
$custom: #795efc;
$custom-light: #aa8dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#795efc",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 250.253,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59721,
    "c": 0.22421,
    "h": 285.2
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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