#8226DD#8226DD

#8226DD is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.6% C 0.248 H 299.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8226DD
RGBrgb(130, 38, 221)
HSLhsl(270, 73%, 51%)
HSVhsv(270, 83%, 87%)
CMYKcmyk(41.2%, 82.8%, 0%, 13.3%)
CIE-LABlab(40.17, 69.24, -75.26)
CIE-LCHlch(40.17, 102.26, 312.61°)
OKLaboklab(51.63% 0.1236 -0.2154)
OKLCHoklch(51.63% 0.248 299.9)
XYZxyz(22.9469, 11.3522, 69.3748)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8226DD #81DD26
analogous
#2626DD #8226DD #DD26DC
triadic
#8226DD #DD8226 #26DD82
tetradic
#8226DD #DD2626 #81DD26 #26DCDD
square
#8226DD #DD2626 #81DD26 #26DCDD
split-complementary
#8226DD #DCDD26 #26DD26
monochromatic
#451376 #631BAB #8226DD #A05BE5 #BF90EE

Accessibility & contrast

On white

6.42
#8226DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8226DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8226DD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8226DD#FFFFFF#000000##FFFFFF
##8226DD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#6C5C85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8226dd;
/* rgb */ color: rgb(130, 38, 221);
/* oklch */ color: oklch(51.6% 0.248 299.9);
Tailwind
colors: {
  custom: {
    50: '#af6ee9',
    500: '#8226dd',
    950: '#000000',
  },
}
SCSS
$custom: #8226dd;
$custom-light: #af6ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8226dd",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 221
  },
  "hsl": {
    "h": 270.164,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.24834,
    "h": 299.9
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#8226DD
secondary
#AFD887
accent
#F03893
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8226DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8226DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva