#8251F2#8251F2

#8251F2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.228 H 291.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8251F2
RGBrgb(130, 81, 242)
HSLhsl(258, 86%, 63%)
HSVhsv(258, 67%, 95%)
CMYKcmyk(46.3%, 66.5%, 0%, 5.1%)
CIE-LABlab(48.31, 56.17, -73.84)
CIE-LCHlch(48.31, 92.78, 307.26°)
OKLaboklab(57.89% 0.084 -0.2115)
OKLCHoklch(57.89% 0.228 291.7)
XYZxyz(28.1709, 17.0405, 85.7920)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8251F2 #C1F251
analogous
#5170F2 #8251F2 #D251F2
triadic
#8251F2 #F28251 #51F282
tetradic
#8251F2 #F25170 #C1F251 #51F2D2
square
#8251F2 #F25170 #C1F251 #51F2D2
split-complementary
#8251F2 #F2D251 #70F251
monochromatic
#430EBB #5918EE #8251F2 #AB8AF6 #D4C3FB

Accessibility & contrast

On white

4.76
#8251F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8251F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8251F2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8251F2#FFFFFF#000000##FFFFFF
##8251F21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#5F799B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8251f2;
/* rgb */ color: rgb(130, 81, 242);
/* oklch */ color: oklch(57.9% 0.228 291.7);
Tailwind
colors: {
  custom: {
    50: '#af85f7',
    500: '#8251f2',
    950: '#000000',
  },
}
SCSS
$custom: #8251f2;
$custom-light: #af85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8251f2",
  "rgb": {
    "r": 130,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 258.261,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.22757,
    "h": 291.7
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#8251F2
secondary
#DBECB3
accent
#E3039F
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8251F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8251F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva