#8150CD#8150CD

#8150CD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.186 H 298.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8150CD
RGBrgb(129, 80, 205)
HSLhsl(264, 56%, 56%)
HSVhsv(264, 61%, 80%)
CMYKcmyk(37.1%, 61%, 0%, 19.6%)
CIE-LABlab(45.38, 46.75, -57.60)
CIE-LCHlch(45.38, 74.18, 309.07°)
OKLaboklab(54.91% 0.0874 -0.1637)
OKLCHoklch(54.91% 0.186 298.1)
XYZxyz(22.9386, 14.8119, 59.3962)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8150CD #9CCD50
analogous
#505DCD #8150CD #BF50CD
triadic
#8150CD #CD8150 #50CD81
tetradic
#8150CD #CD505D #9CCD50 #50CDBF
square
#8150CD #CD505D #9CCD50 #50CDBF
split-complementary
#8150CD #CDBF50 #5DCD50
monochromatic
#48247E #6232AE #8150CD #A380DB #C6AFE8

Accessibility & contrast

On white

5.30
#8150CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8150CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8150CD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8150CD#FFFFFF#000000##FFFFFF
##8150CD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#1A6ACA
Tritanopia (blue-blind)
#6F6B87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8150cd;
/* rgb */ color: rgb(129, 80, 205);
/* oklch */ color: oklch(54.9% 0.186 298.1);
Tailwind
colors: {
  custom: {
    50: '#aa83dd',
    500: '#8150cd',
    950: '#000000',
  },
}
SCSS
$custom: #8150cd;
$custom-light: #aa83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8150cd",
  "rgb": {
    "r": 129,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 263.52,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54911,
    "c": 0.1856,
    "h": 298.1
  },
  "luminance": 0.14812
}

Semantic roles & 50–950 ramp

primary
#8150CD
secondary
#C2D6A2
accent
#DF49A4
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8150CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8150CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva