#975FFB#975FFB

#975FFB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.222 H 295.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#975FFB
RGBrgb(151, 95, 251)
HSLhsl(262, 95%, 68%)
HSVhsv(262, 62%, 98%)
CMYKcmyk(39.8%, 62.2%, 0%, 1.6%)
CIE-LABlab(53.74, 55.26, -69.96)
CIE-LCHlch(53.74, 89.15, 308.30°)
OKLaboklab(62.5% 0.0966 -0.1994)
OKLCHoklch(62.5% 0.222 295.8)
XYZxyz(34.2627, 21.7281, 93.6368)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FFB #C3FB5F
analogous
#5F75FB #975FFB #E55FFB
triadic
#975FFB #FB975F #5FFB97
tetradic
#975FFB #FB5F75 #C3FB5F #5FFBE5
square
#975FFB #FB5F75 #C3FB5F #5FFBE5
split-complementary
#975FFB #FBE55F #75FB5F
monochromatic
#5205DA #7023FA #975FFB #BE9BFC #E5D6FE

Accessibility & contrast

On white

3.93
#975FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#975FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FFB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FFB#FFFFFF#000000##000000
##975FFB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#7E82A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #975ffb;
/* rgb */ color: rgb(151, 95, 251);
/* oklch */ color: oklch(62.5% 0.222 295.8);
Tailwind
colors: {
  custom: {
    50: '#bc8ffe',
    500: '#975ffb',
    950: '#000000',
  },
}
SCSS
$custom: #975ffb;
$custom-light: #bc8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#975ffb",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 261.538,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62496,
    "c": 0.22158,
    "h": 295.8
  },
  "luminance": 0.21729
}

Semantic roles & 50–950 ramp

primary
#975FFB
secondary
#E2F3C3
accent
#E60093
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D18
muted
#827D86

Preview Lab

Preview with #975FFB

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

Preview Lab → · Contrast checker → · Palette generator →

#975FFB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva