#7850BF#7850BF

#7850BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.0% C 0.167 H 296.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7850BF
RGBrgb(120, 80, 191)
HSLhsl(262, 46%, 53%)
HSVhsv(262, 58%, 75%)
CMYKcmyk(37.2%, 58.1%, 0%, 25.1%)
CIE-LABlab(43.49, 41.03, -52.57)
CIE-LCHlch(43.49, 66.69, 307.97°)
OKLaboklab(53.02% 0.0758 -0.1493)
OKLCHoklch(53.02% 0.167 296.9)
XYZxyz(20.0160, 13.4917, 50.8297)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7850BF #97BF50
analogous
#505FBF #7850BF #B050BF
triadic
#7850BF #BF7850 #50BF78
tetradic
#7850BF #BF505F #97BF50 #50BFB0
square
#7850BF #BF505F #97BF50 #50BFB0
split-complementary
#7850BF #BFB050 #5FBF50
monochromatic
#41286D #5B389A #7850BF #9B7DCF #BDAAE0

Accessibility & contrast

On white

5.68
#7850BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7850BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7850BF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7850BF#FFFFFF#000000##FFFFFF
##7850BF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#2665BD
Tritanopia (blue-blind)
#676780
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7850bf;
/* rgb */ color: rgb(120, 80, 191);
/* oklch */ color: oklch(53.0% 0.167 296.9);
Tailwind
colors: {
  custom: {
    50: '#a383d3',
    500: '#7850bf',
    950: '#000000',
  },
}
SCSS
$custom: #7850bf;
$custom-light: #a383d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7850bf",
  "rgb": {
    "r": 120,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 261.622,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.16742,
    "h": 296.9
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#7850BF
secondary
#BCCD9D
accent
#D652A6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #7850BF

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

Preview Lab → · Contrast checker → · Palette generator →

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