#8262CF#8262CF

#8262CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.0% C 0.162 H 294.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8262CF
RGBrgb(130, 98, 207)
HSLhsl(258, 53%, 60%)
HSVhsv(258, 53%, 81%)
CMYKcmyk(37.2%, 52.7%, 0%, 18.8%)
CIE-LABlab(49.48, 37.41, -52.14)
CIE-LCHlch(49.48, 64.18, 305.66°)
OKLaboklab(57.99% 0.0668 -0.1477)
OKLCHoklch(57.99% 0.162 294.3)
XYZxyz(24.8332, 17.9857, 61.1826)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262CF #AFCF62
analogous
#6278CF #8262CF #B962CF
triadic
#8262CF #CF8262 #62CF82
tetradic
#8262CF #CF6278 #AFCF62 #62CFB9
square
#8262CF #CF6278 #AFCF62 #62CFB9
split-complementary
#8262CF #CFB962 #78CF62
monochromatic
#472B8C #5F39BB #8262CF #A791DD #CDC0EC

Accessibility & contrast

On white

4.57
#8262CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8262CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262CF#FFFFFF#000000##000000
##8262CF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#6F788F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8262cf;
/* rgb */ color: rgb(130, 98, 207);
/* oklch */ color: oklch(58.0% 0.162 294.3);
Tailwind
colors: {
  custom: {
    50: '#aa8fde',
    500: '#8262cf',
    950: '#000000',
  },
}
SCSS
$custom: #8262cf;
$custom-light: #aa8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8262cf",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 257.615,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.1621,
    "h": 294.3
  },
  "luminance": 0.17986
}

Semantic roles & 50–950 ramp

primary
#8262CF
secondary
#CFDBB1
accent
#DD4BB2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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