#8255CA#8255CA

#8255CA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.175 H 298.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8255CA
RGBrgb(130, 85, 202)
HSLhsl(263, 52%, 56%)
HSVhsv(263, 58%, 79%)
CMYKcmyk(35.6%, 57.9%, 0%, 20.8%)
CIE-LABlab(46.32, 43.46, -54.34)
CIE-LCHlch(46.32, 69.58, 308.65°)
OKLaboklab(55.56% 0.0828 -0.1542)
OKLCHoklch(55.56% 0.175 298.2)
XYZxyz(23.1124, 15.5068, 57.6411)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255CA #9DCA55
analogous
#5563CA #8255CA #BD55CA
triadic
#8255CA #CA8255 #55CA82
tetradic
#8255CA #CA5563 #9DCA55 #55CABD
square
#8255CA #CA5563 #9DCA55 #55CABD
split-complementary
#8255CA #CABD55 #63CA55
monochromatic
#48277D #6336AC #8255CA #A484D9 #C7B2E7

Accessibility & contrast

On white

5.12
#8255CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8255CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255CA#FFFFFF#000000##FFFFFF
##8255CA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#2C6DC7
Tritanopia (blue-blind)
#726D87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8255ca;
/* rgb */ color: rgb(130, 85, 202);
/* oklch */ color: oklch(55.6% 0.175 298.2);
Tailwind
colors: {
  custom: {
    50: '#ab87db',
    500: '#8255ca',
    950: '#000000',
  },
}
SCSS
$custom: #8255ca;
$custom-light: #ab87db;
$custom-dark: #000000;
JSON
{
  "hex": "#8255ca",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 263.077,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55564,
    "c": 0.17499,
    "h": 298.2
  },
  "luminance": 0.15507
}

Semantic roles & 50–950 ramp

primary
#8255CA
secondary
#C3D5A5
accent
#DC4CA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8255CA

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

Preview Lab → · Contrast checker → · Palette generator →

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