#9767EC#9767EC

#9767EC is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.7% C 0.193 H 297.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9767EC
RGBrgb(151, 103, 236)
HSLhsl(262, 78%, 66%)
HSVhsv(262, 56%, 93%)
CMYKcmyk(36%, 56.4%, 0%, 7.5%)
CIE-LABlab(54.38, 47.16, -60.56)
CIE-LCHlch(54.38, 76.76, 307.91°)
OKLaboklab(62.66% 0.0881 -0.1718)
OKLCHoklch(62.66% 0.193 297.1)
XYZxyz(32.7492, 22.3354, 81.9264)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9767EC #BCEC67
analogous
#677AEC #9767EC #DA67EC
triadic
#9767EC #EC9767 #67EC97
tetradic
#9767EC #EC677A #BCEC67 #67ECDA
square
#9767EC #EC677A #BCEC67 #67ECDA
split-complementary
#9767EC #ECDA67 #7AEC67
monochromatic
#5518C1 #7231E5 #9767EC #BC9DF3 #E1D4FA

Accessibility & contrast

On white

3.84
#9767EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9767EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9767EC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9767EC#FFFFFF#000000##000000
##9767EC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F0
Deuteranopia (green-blind)
#3880E9
Tritanopia (blue-blind)
#8383A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9767ec;
/* rgb */ color: rgb(151, 103, 236);
/* oklch */ color: oklch(62.7% 0.193 297.1);
Tailwind
colors: {
  custom: {
    50: '#ba94f3',
    500: '#9767ec',
    950: '#000000',
  },
}
SCSS
$custom: #9767ec;
$custom-light: #ba94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9767ec",
  "rgb": {
    "r": 151,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 261.654,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.19306,
    "h": 297.1
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#9767EC
secondary
#DDEDC2
accent
#DA0B8F
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9767EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9767EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva