#795BED#795BED

#795BED is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.1% C 0.210 H 287.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#795BED
RGBrgb(121, 91, 237)
HSLhsl(252, 80%, 64%)
HSVhsv(252, 62%, 93%)
CMYKcmyk(48.9%, 61.6%, 0%, 7.1%)
CIE-LABlab(49.08, 47.79, -69.82)
CIE-LCHlch(49.08, 84.61, 304.39°)
OKLaboklab(58.13% 0.0629 -0.2)
OKLCHoklch(58.13% 0.21 287.5)
XYZxyz(26.9078, 17.6603, 82.0953)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BED #CFED5B
analogous
#5B86ED #795BED #C25BED
triadic
#795BED #ED795B #5BED79
tetradic
#795BED #ED5B86 #CFED5B #5BEDC2
square
#795BED #ED5B86 #CFED5B #5BEDC2
split-complementary
#795BED #EDC25B #86ED5B
monochromatic
#3614B9 #4C24E7 #795BED #A692F3 #D3C9F9

Accessibility & contrast

On white

4.63
#795BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#795BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795BED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BED#FFFFFF#000000##FFFFFF
##795BED1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#507E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795bed;
/* rgb */ color: rgb(121, 91, 237);
/* oklch */ color: oklch(58.1% 0.210 287.5);
Tailwind
colors: {
  custom: {
    50: '#a88bf4',
    500: '#795bed',
    950: '#000000',
  },
}
SCSS
$custom: #795bed;
$custom-light: #a88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#795bed",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 252.329,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58127,
    "c": 0.20961,
    "h": 287.5
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#795BED
secondary
#E1EBB9
accent
#DD09B1
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795BED

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

Preview Lab → · Contrast checker → · Palette generator →

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