#975EDF#975EDF

#975EDF is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.191 H 301.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#975EDF
RGBrgb(151, 94, 223)
HSLhsl(267, 67%, 62%)
HSVhsv(267, 58%, 87%)
CMYKcmyk(32.3%, 57.8%, 0%, 12.5%)
CIE-LABlab(51.74, 48.77, -57.50)
CIE-LCHlch(51.74, 75.39, 310.30°)
OKLaboklab(60.47% 0.0989 -0.1628)
OKLCHoklch(60.47% 0.191 301.3)
XYZxyz(30.0814, 19.9123, 72.0564)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EDF #A6DF5E
analogous
#5E66DF #975EDF #D85EDF
triadic
#975EDF #DF975E #5EDF97
tetradic
#975EDF #DF5E66 #A6DF5E #5EDFD8
square
#975EDF #DF5E66 #A6DF5E #5EDFD8
split-complementary
#975EDF #DFD85E #66DF5E
monochromatic
#5A20A2 #762BD5 #975EDF #B891E9 #D9C4F3

Accessibility & contrast

On white

4.21
#975EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#975EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EDF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EDF#FFFFFF#000000##000000
##975EDF1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7BE3
Deuteranopia (green-blind)
#3A7BDC
Tritanopia (blue-blind)
#887896
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975edf;
/* rgb */ color: rgb(151, 94, 223);
/* oklch */ color: oklch(60.5% 0.191 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba8eea',
    500: '#975edf',
    950: '#000000',
  },
}
SCSS
$custom: #975edf;
$custom-light: #ba8eea;
$custom-dark: #000000;
JSON
{
  "hex": "#975edf",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 266.512,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60466,
    "c": 0.1905,
    "h": 301.3
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#975EDF
secondary
#CFE4B5
accent
#CF177D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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