#8343BF#8343BF

#8343BF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.188 H 304.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8343BF
RGBrgb(131, 67, 191)
HSLhsl(271, 49%, 51%)
HSVhsv(271, 65%, 75%)
CMYKcmyk(31.4%, 64.9%, 0%, 25.1%)
CIE-LABlab(42.16, 50.49, -54.66)
CIE-LCHlch(42.16, 74.41, 312.72°)
OKLaboklab(52.33% 0.106 -0.155)
OKLCHoklch(52.33% 0.188 304.4)
XYZxyz(20.7691, 12.6013, 50.6182)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8343BF #7FBF43
analogous
#4543BF #8343BF #BF43BD
triadic
#8343BF #BF8343 #43BF83
tetradic
#8343BF #BF4543 #7FBF43 #43BDBF
square
#8343BF #BF4543 #7FBF43 #43BDBF
split-complementary
#8343BF #BDBF43 #43BF45
monochromatic
#452265 #643293 #8343BF #A171CF #BF9EDE

Accessibility & contrast

On white

5.97
#8343BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8343BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8343BF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8343BF#FFFFFF#000000##FFFFFF
##8343BF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1E63BC
Tritanopia (blue-blind)
#785E7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8343bf;
/* rgb */ color: rgb(131, 67, 191);
/* oklch */ color: oklch(52.3% 0.188 304.4);
Tailwind
colors: {
  custom: {
    50: '#ab7bd3',
    500: '#8343bf',
    950: '#000000',
  },
}
SCSS
$custom: #8343bf;
$custom-light: #ab7bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8343bf",
  "rgb": {
    "r": 131,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 270.968,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.18782,
    "h": 304.4
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#8343BF
secondary
#AECA93
accent
#D94F92
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8343BF

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

Preview Lab → · Contrast checker → · Palette generator →

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