#7935BF#7935BF

#7935BF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.203 H 301.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7935BF
RGBrgb(121, 53, 191)
HSLhsl(270, 57%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(36.6%, 72.3%, 0%, 25.1%)
CIE-LABlab(38.50, 55.15, -60.64)
CIE-LCHlch(38.50, 81.97, 312.29°)
OKLaboklab(49.45% 0.1071 -0.1729)
OKLCHoklch(49.45% 0.203 301.8)
XYZxyz(18.5600, 10.3727, 50.3044)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935BF #7BBF35
analogous
#3536BF #7935BF #BE35BF
triadic
#7935BF #BF7935 #35BF79
tetradic
#7935BF #BF3536 #7BBF35 #35BFBE
square
#7935BF #BF3536 #7BBF35 #35BFBE
split-complementary
#7935BF #BFBE35 #36BF35
monochromatic
#3C1A5F #5B288F #7935BF #985FD3 #B78FE0

Accessibility & contrast

On white

6.83
#7935BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7935BF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935BF#FFFFFF#000000##FFFFFF
##7935BF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#6A5777
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7935bf;
/* rgb */ color: rgb(121, 53, 191);
/* oklch */ color: oklch(49.4% 0.203 301.8);
Tailwind
colors: {
  custom: {
    50: '#a672d3',
    500: '#7935bf',
    950: '#000000',
  },
}
SCSS
$custom: #7935bf;
$custom-light: #a672d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7935bf",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 269.565,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.20338,
    "h": 301.8
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7935BF

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

Preview Lab → · Contrast checker → · Palette generator →

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