#9762FB#9762FB

#9762FB is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.9% C 0.218 H 295.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9762FB
RGBrgb(151, 98, 251)
HSLhsl(261, 95%, 68%)
HSVhsv(261, 61%, 98%)
CMYKcmyk(39.8%, 61%, 0%, 1.6%)
CIE-LABlab(54.32, 53.69, -69.01)
CIE-LCHlch(54.32, 87.43, 307.88°)
OKLaboklab(62.92% 0.0934 -0.1966)
OKLCHoklch(62.92% 0.218 295.4)
XYZxyz(34.5382, 22.2790, 93.7287)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9762FB #C6FB62
analogous
#6279FB #9762FB #E362FB
triadic
#9762FB #FB9762 #62FB97
tetradic
#9762FB #FB6279 #C6FB62 #62FBE3
square
#9762FB #FB6279 #C6FB62 #62FBE3
split-complementary
#9762FB #FBE362 #79FB62
monochromatic
#5006DD #6F26F9 #9762FB #BF9EFD #E6D9FE

Accessibility & contrast

On white

3.85
#9762FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9762FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9762FB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9762FB#FFFFFF#000000##000000
##9762FB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0080F8
Tritanopia (blue-blind)
#7D84A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9762fb;
/* rgb */ color: rgb(151, 98, 251);
/* oklch */ color: oklch(62.9% 0.218 295.4);
Tailwind
colors: {
  custom: {
    50: '#bc91fe',
    500: '#9762fb',
    950: '#000000',
  },
}
SCSS
$custom: #9762fb;
$custom-light: #bc91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9762fb",
  "rgb": {
    "r": 151,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 260.784,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.21768,
    "h": 295.4
  },
  "luminance": 0.2228
}

Semantic roles & 50–950 ramp

primary
#9762FB
secondary
#E3F3C5
accent
#E60096
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9762FB

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

Preview Lab → · Contrast checker → · Palette generator →

#9762FB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva