#8351DB#8351DB

#8351DB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.201 H 296.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8351DB
RGBrgb(131, 81, 219)
HSLhsl(262, 66%, 59%)
HSVhsv(262, 63%, 86%)
CMYKcmyk(40.2%, 63%, 0%, 14.1%)
CIE-LABlab(46.74, 50.28, -63.39)
CIE-LCHlch(46.74, 80.91, 308.42°)
OKLaboklab(56.26% 0.088 -0.1807)
OKLCHoklch(56.26% 0.201 296)
XYZxyz(25.0853, 15.8241, 68.7368)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8351DB #A9DB51
analogous
#5164DB #8351DB #C851DB
triadic
#8351DB #DB8351 #51DB83
tetradic
#8351DB #DB5164 #A9DB51 #51DBC8
square
#8351DB #DB5164 #A9DB51 #51DBC8
split-complementary
#8351DB #DBC851 #64DB51
monochromatic
#491E93 #6229C6 #8351DB #A784E5 #CBB6F0

Accessibility & contrast

On white

5.04
#8351DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8351DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8351DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8351DB#FFFFFF#000000##FFFFFF
##8351DB1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#6D708F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8351db;
/* rgb */ color: rgb(131, 81, 219);
/* oklch */ color: oklch(56.3% 0.201 296.0);
Tailwind
colors: {
  custom: {
    50: '#ad84e7',
    500: '#8351db',
    950: '#000000',
  },
}
SCSS
$custom: #8351db;
$custom-light: #ad84e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8351db",
  "rgb": {
    "r": 131,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 261.739,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.201,
    "h": 296
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#8351DB
secondary
#CBDFA9
accent
#E93FAB
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8351DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8351DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva