#8262BC#8262BC

#8262BC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.137 H 298.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8262BC
RGBrgb(130, 98, 188)
HSLhsl(261, 40%, 56%)
HSVhsv(261, 48%, 74%)
CMYKcmyk(30.9%, 47.9%, 0%, 26.3%)
CIE-LABlab(48.40, 32.39, -42.93)
CIE-LCHlch(48.40, 53.78, 307.04°)
OKLaboklab(56.84% 0.0651 -0.1207)
OKLCHoklch(56.84% 0.137 298.3)
XYZxyz(22.6485, 17.1118, 49.6769)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262BC #9CBC62
analogous
#626FBC #8262BC #AF62BC
triadic
#8262BC #BC8262 #62BC82
tetradic
#8262BC #BC626F #9CBC62 #62BCAF
square
#8262BC #BC626F #9CBC62 #62BCAF
split-complementary
#8262BC #BCAF62 #6FBC62
monochromatic
#483173 #63439E #8262BC #A48DCE #C6B8E1

Accessibility & contrast

On white

4.75
#8262BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8262BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8262BC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262BC#FFFFFF#000000##FFFFFF
##8262BC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#767386
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8262bc;
/* rgb */ color: rgb(130, 98, 188);
/* oklch */ color: oklch(56.8% 0.137 298.3);
Tailwind
colors: {
  custom: {
    50: '#a98fd0',
    500: '#8262bc',
    950: '#000000',
  },
}
SCSS
$custom: #8262bc;
$custom-light: #a98fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8262bc",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 261.333,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.13718,
    "h": 298.3
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#8262BC
secondary
#C2CFAA
accent
#D058A5
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8262BC

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

Preview Lab → · Contrast checker → · Palette generator →

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