#8262BB#8262BB

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

Color values

HEX#8262BB
RGBrgb(130, 98, 187)
HSLhsl(262, 40%, 56%)
HSVhsv(262, 48%, 73%)
CMYKcmyk(30.5%, 47.6%, 0%, 26.7%)
CIE-LABlab(48.35, 32.14, -42.44)
CIE-LCHlch(48.35, 53.23, 307.13°)
OKLaboklab(56.78% 0.065 -0.1193)
OKLCHoklch(56.78% 0.136 298.6)
XYZxyz(22.5411, 17.0688, 49.1111)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262BB #9BBB62
analogous
#626EBB #8262BB #AE62BB
triadic
#8262BB #BB8262 #62BB82
tetradic
#8262BB #BB626E #9BBB62 #62BBAE
square
#8262BB #BB626E #9BBB62 #62BBAE
split-complementary
#8262BB #BBAE62 #6EBB62
monochromatic
#483171 #63449C #8262BB #A48DCD #C6B7E0

Accessibility & contrast

On white

4.76
#8262BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8262BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8262BB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262BB#FFFFFF#000000##FFFFFF
##8262BB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#767286
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8262bb;
/* rgb */ color: rgb(130, 98, 187);
/* oklch */ color: oklch(56.8% 0.136 298.6);
Tailwind
colors: {
  custom: {
    50: '#a98fd0',
    500: '#8262bb',
    950: '#000000',
  },
}
SCSS
$custom: #8262bb;
$custom-light: #a98fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8262bb",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 261.573,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.13585,
    "h": 298.6
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8262BB

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

Preview Lab → · Contrast checker → · Palette generator →

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