#795FF8#795FF8

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

Color values

HEX#795FF8
RGBrgb(121, 95, 248)
HSLhsl(250, 92%, 67%)
HSVhsv(250, 62%, 97%)
CMYKcmyk(51.2%, 61.7%, 0%, 2.7%)
CIE-LABlab(50.72, 48.71, -73.32)
CIE-LCHlch(50.72, 88.02, 303.60°)
OKLaboklab(59.57% 0.0581 -0.2102)
OKLCHoklch(59.57% 0.218 285.5)
XYZxyz(28.9156, 19.0252, 90.9373)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FF8 #DEF85F
analogous
#5F92F8 #795FF8 #C65FF8
triadic
#795FF8 #F8795F #5FF879
tetradic
#795FF8 #F85F92 #DEF85F #5FF8C6
square
#795FF8 #F85F92 #DEF85F #5FF8C6
split-complementary
#795FF8 #F8C65F #92F85F
monochromatic
#2C09D3 #4824F5 #795FF8 #AA9AFB #DBD4FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795FF8#FFFFFF#000000##000000
##795FF81.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)
#007DFD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#4784A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795ff8;
/* rgb */ color: rgb(121, 95, 248);
/* oklch */ color: oklch(59.6% 0.218 285.5);
Tailwind
colors: {
  custom: {
    50: '#a98efc',
    500: '#795ff8',
    950: '#000000',
  },
}
SCSS
$custom: #795ff8;
$custom-light: #a98efc;
$custom-dark: #000000;
JSON
{
  "hex": "#795ff8",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 250.196,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59568,
    "c": 0.21812,
    "h": 285.5
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#795FF8
secondary
#E9F2C1
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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