#B975E2#B975E2

#B975E2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.168 H 311.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B975E2
RGBrgb(185, 117, 226)
HSLhsl(277, 65%, 67%)
HSVhsv(277, 48%, 89%)
CMYKcmyk(18.1%, 48.2%, 0%, 11.4%)
CIE-LABlab(60.36, 45.84, -45.23)
CIE-LCHlch(60.36, 64.39, 315.38°)
OKLaboklab(67.73% 0.1114 -0.1261)
OKLCHoklch(67.73% 0.168 311.5)
XYZxyz(40.0939, 28.5286, 75.3312)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B975E2 #9EE275
analogous
#8375E2 #B975E2 #E275D5
triadic
#B975E2 #E2B975 #75E2B9
tetradic
#B975E2 #E28375 #9EE275 #75D5E2
square
#B975E2 #E28375 #9EE275 #75D5E2
split-complementary
#B975E2 #D5E275 #75E283
monochromatic
#8026B6 #9F42D7 #B975E2 #D3A8ED #ECDAF7

Accessibility & contrast

On white

3.13
#B975E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B975E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B975E2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B975E2#FFFFFF#000000##000000
##B975E21.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8EE6
Deuteranopia (green-blind)
#6F93DF
Tritanopia (blue-blind)
#B586A1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b975e2;
/* rgb */ color: rgb(185, 117, 226);
/* oklch */ color: oklch(67.7% 0.168 311.5);
Tailwind
colors: {
  custom: {
    50: '#d09eeb',
    500: '#b975e2',
    950: '#000000',
  },
}
SCSS
$custom: #b975e2;
$custom-light: #d09eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b975e2",
  "rgb": {
    "r": 185,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 277.431,
    "s": 65.269,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67726,
    "c": 0.16823,
    "h": 311.5
  },
  "luminance": 0.28528
}

Semantic roles & 50–950 ramp

primary
#B975E2
secondary
#D5EBC8
accent
#CD185C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #B975E2

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

Preview Lab → · Contrast checker → · Palette generator →

#B975E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva