#795CE8#795CE8

#795CE8 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 57.9% C 0.202 H 287.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#795CE8
RGBrgb(121, 92, 232)
HSLhsl(252, 75%, 64%)
HSVhsv(252, 60%, 91%)
CMYKcmyk(47.8%, 60.3%, 0%, 9%)
CIE-LABlab(48.94, 45.80, -67.24)
CIE-LCHlch(48.94, 81.36, 304.26°)
OKLaboklab(57.91% 0.0622 -0.1924)
OKLCHoklch(57.91% 0.202 287.9)
XYZxyz(26.2736, 17.5443, 78.3303)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE8 #CBE85C
analogous
#5C85E8 #795CE8 #BF5CE8
triadic
#795CE8 #E8795C #5CE879
tetradic
#795CE8 #E85C85 #CBE85C #5CE8BF
square
#795CE8 #E85C85 #CBE85C #5CE8BF
split-complementary
#795CE8 #E8BF5C #85E85C
monochromatic
#3819B1 #4D26E0 #795CE8 #A592F0 #D1C7F7

Accessibility & contrast

On white

4.66
#795CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#795CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795CE8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE8#FFFFFF#000000##FFFFFF
##795CE81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#547D99
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ce8;
/* rgb */ color: rgb(121, 92, 232);
/* oklch */ color: oklch(57.9% 0.202 287.9);
Tailwind
colors: {
  custom: {
    50: '#a78bf0',
    500: '#795ce8',
    950: '#000000',
  },
}
SCSS
$custom: #795ce8;
$custom-light: #a78bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce8",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 252.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57911,
    "c": 0.20217,
    "h": 287.9
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#795CE8
secondary
#DEE9B7
accent
#D70EAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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