#8255CF#8255CF

#8255CF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.181 H 297.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8255CF
RGBrgb(130, 85, 207)
HSLhsl(262, 56%, 57%)
HSVhsv(262, 59%, 81%)
CMYKcmyk(37.2%, 58.9%, 0%, 18.8%)
CIE-LABlab(46.64, 44.76, -56.70)
CIE-LCHlch(46.64, 72.24, 308.29°)
OKLaboklab(55.9% 0.0827 -0.1611)
OKLCHoklch(55.9% 0.181 297.2)
XYZxyz(23.7140, 15.7475, 60.8096)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255CF #A2CF55
analogous
#5565CF #8255CF #BF55CF
triadic
#8255CF #CF8255 #55CF82
tetradic
#8255CF #CF5565 #A2CF55 #55CFBF
square
#8255CF #CF5565 #A2CF55 #55CFBF
split-complementary
#8255CF #CFBF55 #65CF55
monochromatic
#482584 #6233B4 #8255CF #A585DC #C8B4EA

Accessibility & contrast

On white

5.06
#8255CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8255CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255CF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255CF#FFFFFF#000000##FFFFFF
##8255CF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#706F8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8255cf;
/* rgb */ color: rgb(130, 85, 207);
/* oklch */ color: oklch(55.9% 0.181 297.2);
Tailwind
colors: {
  custom: {
    50: '#ab87de',
    500: '#8255cf',
    950: '#000000',
  },
}
SCSS
$custom: #8255cf;
$custom-light: #ab87de;
$custom-dark: #000000;
JSON
{
  "hex": "#8255cf",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 262.131,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.18109,
    "h": 297.2
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#8255CF
secondary
#C6D9A7
accent
#DF49A8
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8255CF

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

Preview Lab → · Contrast checker → · Palette generator →

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