#7935BE#7935BE

#7935BE is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.202 H 302.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7935BE
RGBrgb(121, 53, 190)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(36.3%, 72.1%, 0%, 25.5%)
CIE-LABlab(38.43, 54.91, -60.18)
CIE-LCHlch(38.43, 81.47, 312.38°)
OKLaboklab(49.37% 0.1073 -0.1715)
OKLCHoklch(49.37% 0.202 302)
XYZxyz(18.4503, 10.3288, 49.7268)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935BE #7ABE35
analogous
#3535BE #7935BE #BE35BE
triadic
#7935BE #BE7935 #35BE79
tetradic
#7935BE #BE3535 #7ABE35 #35BEBE
square
#7935BE #BE3535 #7ABE35 #35BEBE
split-complementary
#7935BE #BEBE35 #35BE35
monochromatic
#3C1A5E #5B288E #7935BE #985ED2 #B68EDF

Accessibility & contrast

On white

6.85
#7935BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#7935BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935BE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935BE#FFFFFF#000000##FFFFFF
##7935BE1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#6A5676
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7935be;
/* rgb */ color: rgb(121, 53, 190);
/* oklch */ color: oklch(49.4% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#a572d2',
    500: '#7935be',
    950: '#000000',
  },
}
SCSS
$custom: #7935be;
$custom-light: #a572d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7935be",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 269.781,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49369,
    "c": 0.20232,
    "h": 302
  },
  "luminance": 0.10329
}

Semantic roles & 50–950 ramp

primary
#7935BE
secondary
#A8CA85
accent
#E04894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7935BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7935BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva