#8262DB#8262DB

#8262DB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.178 H 292.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8262DB
RGBrgb(130, 98, 219)
HSLhsl(256, 63%, 62%)
HSVhsv(256, 55%, 86%)
CMYKcmyk(40.6%, 55.3%, 0%, 14.1%)
CIE-LABlab(50.21, 40.66, -57.80)
CIE-LCHlch(50.21, 70.67, 305.13°)
OKLaboklab(58.77% 0.0672 -0.1643)
OKLCHoklch(58.77% 0.178 292.2)
XYZxyz(26.3563, 18.5949, 69.2046)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262DB #BBDB62
analogous
#627FDB #8262DB #BF62DB
triadic
#8262DB #DB8262 #62DB82
tetradic
#8262DB #DB627F #BBDB62 #62DBBF
square
#8262DB #DB627F #BBDB62 #62DBBF
split-complementary
#8262DB #DBBF62 #7FDB62
monochromatic
#45249E #5A30D0 #8262DB #AA94E6 #D1C6F2

Accessibility & contrast

On white

4.45
#8262DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8262DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8262DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262DB#FFFFFF#000000##000000
##8262DB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#6A7C95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8262db;
/* rgb */ color: rgb(130, 98, 219);
/* oklch */ color: oklch(58.8% 0.178 292.2);
Tailwind
colors: {
  custom: {
    50: '#ab8fe7',
    500: '#8262db',
    950: '#000000',
  },
}
SCSS
$custom: #8262db;
$custom-light: #ab8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8262db",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 255.868,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58769,
    "c": 0.17754,
    "h": 292.2
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#8262DB
secondary
#D7E3B6
accent
#CA1B9C
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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