#9765F6#9765F6

#9765F6 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.0% C 0.208 H 295.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9765F6
RGBrgb(151, 101, 246)
HSLhsl(261, 89%, 68%)
HSVhsv(261, 59%, 96%)
CMYKcmyk(38.6%, 58.9%, 0%, 3.5%)
CIE-LABlab(54.60, 50.81, -65.79)
CIE-LCHlch(54.60, 83.13, 307.68°)
OKLaboklab(63.02% 0.0903 -0.1872)
OKLCHoklch(63.02% 0.208 295.7)
XYZxyz(34.0464, 22.5398, 89.7277)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765F6 #C4F665
analogous
#657BF6 #9765F6 #E065F6
triadic
#9765F6 #F69765 #65F697
tetradic
#9765F6 #F6657B #C4F665 #65F6E0
square
#9765F6 #F6657B #C4F665 #65F6E0
split-complementary
#9765F6 #F6E065 #7BF665
monochromatic
#510CD4 #702BF3 #9765F6 #BE9FF9 #E5D9FD

Accessibility & contrast

On white

3.81
#9765F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9765F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765F6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765F6#FFFFFF#000000##000000
##9765F61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#2181F3
Tritanopia (blue-blind)
#7F85A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9765f6;
/* rgb */ color: rgb(151, 101, 246);
/* oklch */ color: oklch(63.0% 0.208 295.7);
Tailwind
colors: {
  custom: {
    50: '#bb93fa',
    500: '#9765f6',
    950: '#000000',
  },
}
SCSS
$custom: #9765f6;
$custom-light: #bb93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9765f6",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 246
  },
  "hsl": {
    "h": 260.69,
    "s": 88.957,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.20781,
    "h": 295.7
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#9765F6
secondary
#E2F2C5
accent
#E60096
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9765F6

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

Preview Lab → · Contrast checker → · Palette generator →

#9765F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva