#955FE7#955FE7

#955FE7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.198 H 298.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#955FE7
RGBrgb(149, 95, 231)
HSLhsl(264, 74%, 64%)
HSVhsv(264, 59%, 91%)
CMYKcmyk(35.5%, 58.9%, 0%, 9.4%)
CIE-LABlab(52.22, 49.76, -61.24)
CIE-LCHlch(52.22, 78.91, 309.10°)
OKLaboklab(60.93% 0.095 -0.1738)
OKLCHoklch(60.93% 0.198 298.7)
XYZxyz(30.9069, 20.3431, 77.8841)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955FE7 #B1E75F
analogous
#5F6DE7 #955FE7 #D95FE7
triadic
#955FE7 #E7955F #5FE795
tetradic
#955FE7 #E75F6D #B1E75F #5FE7D9
square
#955FE7 #E75F6D #B1E75F #5FE7D9
split-complementary
#955FE7 #E7D95F #6DE75F
monochromatic
#561BB1 #722ADF #955FE7 #B894EF #DCC9F7

Accessibility & contrast

On white

4.14
#955FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#955FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955FE7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955FE7#FFFFFF#000000##000000
##955FE71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#087DEB
Deuteranopia (green-blind)
#2D7BE4
Tritanopia (blue-blind)
#837C9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #955fe7;
/* rgb */ color: rgb(149, 95, 231);
/* oklch */ color: oklch(60.9% 0.198 298.7);
Tailwind
colors: {
  custom: {
    50: '#b98fef',
    500: '#955fe7',
    950: '#000000',
  },
}
SCSS
$custom: #955fe7;
$custom-light: #b98fef;
$custom-dark: #000000;
JSON
{
  "hex": "#955fe7",
  "rgb": {
    "r": 149,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 263.824,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.19813,
    "h": 298.7
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#955FE7
secondary
#D6E9B9
accent
#D60F87
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #955FE7

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

Preview Lab → · Contrast checker → · Palette generator →

#955FE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva