#9765EF#9765EF

#9765EF is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.199 H 297.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9765EF
RGBrgb(151, 101, 239)
HSLhsl(262, 81%, 67%)
HSVhsv(262, 58%, 94%)
CMYKcmyk(36.8%, 57.7%, 0%, 6.3%)
CIE-LABlab(54.15, 49.01, -62.61)
CIE-LCHlch(54.15, 79.51, 308.06°)
OKLaboklab(62.55% 0.0904 -0.1778)
OKLCHoklch(62.55% 0.199 297)
XYZxyz(32.9922, 22.1181, 84.1756)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9765EF #BDEF65
analogous
#6578EF #9765EF #DC65EF
triadic
#9765EF #EF9765 #65EF97
tetradic
#9765EF #EF6578 #BDEF65 #65EFDC
square
#9765EF #EF6578 #BDEF65 #65EFDC
split-complementary
#9765EF #EFDC65 #78EF65
monochromatic
#5414C5 #722EE9 #9765EF #BC9CF5 #E2D4FB

Accessibility & contrast

On white

3.87
#9765EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9765EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9765EF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9765EF#FFFFFF#000000##000000
##9765EF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1582F4
Deuteranopia (green-blind)
#2F80EC
Tritanopia (blue-blind)
#8282A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9765ef;
/* rgb */ color: rgb(151, 101, 239);
/* oklch */ color: oklch(62.6% 0.199 297.0);
Tailwind
colors: {
  custom: {
    50: '#ba93f5',
    500: '#9765ef',
    950: '#000000',
  },
}
SCSS
$custom: #9765ef;
$custom-light: #ba93f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9765ef",
  "rgb": {
    "r": 151,
    "g": 101,
    "b": 239
  },
  "hsl": {
    "h": 261.739,
    "s": 81.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62551,
    "c": 0.19948,
    "h": 297
  },
  "luminance": 0.22119
}

Semantic roles & 50–950 ramp

primary
#9765EF
secondary
#DEEEC2
accent
#DE0890
background
#FBF9FF
surface
#F7F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #9765EF

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

Preview Lab → · Contrast checker → · Palette generator →

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