#795FDA#795FDA

#795FDA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.180 H 289.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#795FDA
RGBrgb(121, 95, 218)
HSLhsl(253, 62%, 61%)
HSVhsv(253, 56%, 85%)
CMYKcmyk(44.5%, 56.4%, 0%, 14.5%)
CIE-LABlab(48.65, 40.11, -59.79)
CIE-LCHlch(48.65, 72.00, 303.85°)
OKLaboklab(57.4% 0.0593 -0.1704)
OKLCHoklch(57.4% 0.18 289.2)
XYZxyz(24.6287, 17.3104, 68.3596)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FDA #C0DA5F
analogous
#5F83DA #795FDA #B75FDA
triadic
#795FDA #DA795F #5FDA79
tetradic
#795FDA #DA5F83 #C0DA5F #5FDAB7
square
#795FDA #DA5F83 #C0DA5F #5FDAB7
split-complementary
#795FDA #DAB75F #83DA5F
monochromatic
#3D249B #512FCD #795FDA #A391E5 #CCC2F1

Accessibility & contrast

On white

4.71
#795FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#795FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FDA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FDA#FFFFFF#000000##FFFFFF
##795FDA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1276DE
Deuteranopia (green-blind)
#1871D7
Tritanopia (blue-blind)
#5C7A93
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795fda;
/* rgb */ color: rgb(121, 95, 218);
/* oklch */ color: oklch(57.4% 0.180 289.2);
Tailwind
colors: {
  custom: {
    50: '#a68de6',
    500: '#795fda',
    950: '#000000',
  },
}
SCSS
$custom: #795fda;
$custom-light: #a68de6;
$custom-dark: #000000;
JSON
{
  "hex": "#795fda",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 252.683,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57398,
    "c": 0.18046,
    "h": 289.2
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#795FDA
secondary
#D8E1B3
accent
#CA1BA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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