#975BE3#975BE3

#975BE3 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.3% C 0.199 H 300.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#975BE3
RGBrgb(151, 91, 227)
HSLhsl(266, 71%, 62%)
HSVhsv(266, 60%, 89%)
CMYKcmyk(33.5%, 59.9%, 0%, 11%)
CIE-LABlab(51.39, 51.33, -60.32)
CIE-LCHlch(51.39, 79.20, 310.40°)
OKLaboklab(60.29% 0.1024 -0.1711)
OKLCHoklch(60.29% 0.199 300.9)
XYZxyz(30.3654, 19.6074, 74.8430)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BE3 #A7E35B
analogous
#5B63E3 #975BE3 #DB5BE3
triadic
#975BE3 #E3975B #5BE397
tetradic
#975BE3 #E35B63 #A7E35B #5BE3DB
square
#975BE3 #E35B63 #A7E35B #5BE3DB
split-complementary
#975BE3 #E3DB5B #63E35B
monochromatic
#5A1DA7 #7627DA #975BE3 #B88FEC #D9C4F5

Accessibility & contrast

On white

4.27
#975BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#975BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BE3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BE3#FFFFFF#000000##000000
##975BE31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE7
Deuteranopia (green-blind)
#2F7AE0
Tritanopia (blue-blind)
#877897
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975be3;
/* rgb */ color: rgb(151, 91, 227);
/* oklch */ color: oklch(60.3% 0.199 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba8ced',
    500: '#975be3',
    950: '#000000',
  },
}
SCSS
$custom: #975be3;
$custom-light: #ba8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#975be3",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 266.471,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.19939,
    "h": 300.9
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#975BE3
secondary
#D0E6B4
accent
#D3137E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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