#8255F7#8255F7

#8255F7 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.229 H 290.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8255F7
RGBrgb(130, 85, 247)
HSLhsl(257, 91%, 65%)
HSVhsv(257, 66%, 97%)
CMYKcmyk(47.4%, 65.6%, 0%, 3.1%)
CIE-LABlab(49.44, 55.44, -74.80)
CIE-LCHlch(49.44, 93.10, 306.55°)
OKLaboklab(58.82% 0.0795 -0.2143)
OKLCHoklch(58.82% 0.229 290.4)
XYZxyz(29.2382, 17.9571, 89.9032)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255F7 #CAF755
analogous
#5579F7 #8255F7 #D355F7
triadic
#8255F7 #F78255 #55F782
tetradic
#8255F7 #F75579 #CAF755 #55F7D3
square
#8255F7 #F75579 #CAF755 #55F7D3
split-complementary
#8255F7 #F7D355 #79F755
monochromatic
#3E09C8 #571BF4 #8255F7 #AD8FFA #D8CAFD

Accessibility & contrast

On white

4.57
#8255F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8255F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8255F7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255F7#FFFFFF#000000##000000
##8255F71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FC
Deuteranopia (green-blind)
#0072F4
Tritanopia (blue-blind)
#5C7D9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8255f7;
/* rgb */ color: rgb(130, 85, 247);
/* oklch */ color: oklch(58.8% 0.229 290.4);
Tailwind
colors: {
  custom: {
    50: '#af88fb',
    500: '#8255f7',
    950: '#000000',
  },
}
SCSS
$custom: #8255f7;
$custom-light: #af88fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8255f7",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 247
  },
  "hsl": {
    "h": 256.667,
    "s": 91.011,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.22858,
    "h": 290.4
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#8255F7
secondary
#E0EFB8
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #8255F7

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

Preview Lab → · Contrast checker → · Palette generator →

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