#7835BC#7835BC

#7835BC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.200 H 302.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7835BC
RGBrgb(120, 53, 188)
HSLhsl(270, 56%, 47%)
HSVhsv(270, 72%, 74%)
CMYKcmyk(36.2%, 71.8%, 0%, 26.3%)
CIE-LABlab(38.15, 54.24, -59.47)
CIE-LCHlch(38.15, 80.49, 312.37°)
OKLaboklab(49.09% 0.1063 -0.1695)
OKLCHoklch(49.09% 0.2 302.1)
XYZxyz(18.0938, 10.1701, 48.5770)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7835BC #79BC35
analogous
#3535BC #7835BC #BC35BC
triadic
#7835BC #BC7835 #35BC78
tetradic
#7835BC #BC3535 #79BC35 #35BCBC
square
#7835BC #BC3535 #79BC35 #35BCBC
split-complementary
#7835BC #BCBC35 #35BC35
monochromatic
#3B1A5D #5A288C #7835BC #975DD1 #B58DDF

Accessibility & contrast

On white

6.92
#7835BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7835BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7835BC
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7835BC#FFFFFF#000000##FFFFFF
##7835BC1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#6A5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7835bc;
/* rgb */ color: rgb(120, 53, 188);
/* oklch */ color: oklch(49.1% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#a572d1',
    500: '#7835bc',
    950: '#000000',
  },
}
SCSS
$custom: #7835bc;
$custom-light: #a572d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7835bc",
  "rgb": {
    "r": 120,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 269.778,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.20003,
    "h": 302.1
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#7835BC
secondary
#A7C984
accent
#DF4894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7835BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7835BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva