#8257FB#8257FB

#8257FB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.231 H 289.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8257FB
RGBrgb(130, 87, 251)
HSLhsl(256, 95%, 66%)
HSVhsv(256, 65%, 98%)
CMYKcmyk(48.2%, 65.3%, 0%, 1.6%)
CIE-LABlab(50.13, 55.48, -75.91)
CIE-LCHlch(50.13, 94.02, 306.16°)
OKLaboklab(59.4% 0.0771 -0.2176)
OKLCHoklch(59.4% 0.231 289.5)
XYZxyz(30.0217, 18.5260, 93.2421)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257FB #D0FB57
analogous
#577EFB #8257FB #D457FB
triadic
#8257FB #FB8257 #57FB82
tetradic
#8257FB #FB577E #D0FB57 #57FBD4
square
#8257FB #FB577E #D0FB57 #57FBD4
split-complementary
#8257FB #FBD457 #7EFB57
monochromatic
#3B05D3 #561BFA #8257FB #AE93FC #DBCFFE

Accessibility & contrast

On white

4.46
#8257FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8257FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8257FB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257FB#FFFFFF#000000##000000
##8257FB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#0073F8
Tritanopia (blue-blind)
#597FA2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8257fb;
/* rgb */ color: rgb(130, 87, 251);
/* oklch */ color: oklch(59.4% 0.231 289.5);
Tailwind
colors: {
  custom: {
    50: '#af89fe',
    500: '#8257fb',
    950: '#000000',
  },
}
SCSS
$custom: #8257fb;
$custom-light: #af89fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8257fb",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 255.732,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59405,
    "c": 0.23085,
    "h": 289.5
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#8257FB
secondary
#E4F2BC
accent
#E600A9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8257FB

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

Preview Lab → · Contrast checker → · Palette generator →

#8257FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva