#8255DC#8255DC

#8255DC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.197 H 294.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8255DC
RGBrgb(130, 85, 220)
HSLhsl(260, 66%, 60%)
HSVhsv(260, 61%, 86%)
CMYKcmyk(40.9%, 61.4%, 0%, 13.7%)
CIE-LABlab(47.51, 48.19, -62.73)
CIE-LCHlch(47.51, 79.10, 307.53°)
OKLaboklab(56.81% 0.0822 -0.1788)
OKLCHoklch(56.81% 0.197 294.7)
XYZxyz(25.3693, 16.4095, 69.5270)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255DC #AFDC55
analogous
#556CDC #8255DC #C655DC
triadic
#8255DC #DC8255 #55DC82
tetradic
#8255DC #DC556C #AFDC55 #55DCC6
square
#8255DC #DC556C #AFDC55 #55DCC6
split-complementary
#8255DC #DCC655 #6CDC55
monochromatic
#471F97 #5F2ACA #8255DC #A788E6 #CDBBF1

Accessibility & contrast

On white

4.90
#8255DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8255DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255DC#FFFFFF#000000##FFFFFF
##8255DC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#6A7391
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8255dc;
/* rgb */ color: rgb(130, 85, 220);
/* oklch */ color: oklch(56.8% 0.197 294.7);
Tailwind
colors: {
  custom: {
    50: '#ac87e8',
    500: '#8255dc',
    950: '#000000',
  },
}
SCSS
$custom: #8255dc;
$custom-light: #ac87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8255dc",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 260,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.19679,
    "h": 294.7
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#8255DC
secondary
#CFE0AC
accent
#E93FB0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8255DC

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

Preview Lab → · Contrast checker → · Palette generator →

#8255DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva