#8165F2#8165F2

#8165F2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.7% C 0.203 H 288.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8165F2
RGBrgb(129, 101, 242)
HSLhsl(252, 84%, 67%)
HSVhsv(252, 58%, 95%)
CMYKcmyk(46.7%, 58.3%, 0%, 5.1%)
CIE-LABlab(52.27, 45.14, -67.42)
CIE-LCHlch(52.27, 81.14, 303.80°)
OKLaboklab(60.74% 0.0624 -0.1926)
OKLCHoklch(60.74% 0.203 288)
XYZxyz(29.7293, 20.3841, 86.3553)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8165F2 #D6F265
analogous
#6590F2 #8165F2 #C865F2
triadic
#8165F2 #F28165 #65F281
tetradic
#8165F2 #F26590 #D6F265 #65F2C8
square
#8165F2 #F26590 #D6F265 #65F2C8
split-complementary
#8165F2 #F2C865 #90F265
monochromatic
#3611CB #532DED #8165F2 #AF9DF7 #DDD6FC

Accessibility & contrast

On white

4.14
#8165F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8165F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8165F2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8165F2#FFFFFF#000000##000000
##8165F21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#5C85A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8165f2;
/* rgb */ color: rgb(129, 101, 242);
/* oklch */ color: oklch(60.7% 0.203 288.0);
Tailwind
colors: {
  custom: {
    50: '#ad92f7',
    500: '#8165f2',
    950: '#000000',
  },
}
SCSS
$custom: #8165f2;
$custom-light: #ad92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8165f2",
  "rgb": {
    "r": 129,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 251.915,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.2025,
    "h": 288
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#8165F2
secondary
#E7F0C3
accent
#E105B5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8165F2

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

Preview Lab → · Contrast checker → · Palette generator →

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