#945CE7#945CE7

#945CE7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.202 H 298.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#945CE7
RGBrgb(148, 92, 231)
HSLhsl(264, 74%, 63%)
HSVhsv(264, 60%, 91%)
CMYKcmyk(35.9%, 60.2%, 0%, 9.4%)
CIE-LABlab(51.52, 51.14, -62.38)
CIE-LCHlch(51.52, 80.66, 309.34°)
OKLaboklab(60.39% 0.0972 -0.1772)
OKLCHoklch(60.39% 0.202 298.7)
XYZxyz(30.4601, 19.7194, 77.7872)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CE7 #AFE75C
analogous
#5C69E7 #945CE7 #DA5CE7
triadic
#945CE7 #E7945C #5CE794
tetradic
#945CE7 #E75C69 #AFE75C #5CE7DA
square
#945CE7 #E75C69 #AFE75C #5CE7DA
split-complementary
#945CE7 #E7DA5C #69E75C
monochromatic
#561AAF #7127DF #945CE7 #B791EF #DAC7F7

Accessibility & contrast

On white

4.25
#945CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#945CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CE7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CE7#FFFFFF#000000##000000
##945CE71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#817A99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945ce7;
/* rgb */ color: rgb(148, 92, 231);
/* oklch */ color: oklch(60.4% 0.202 298.7);
Tailwind
colors: {
  custom: {
    50: '#b88def',
    500: '#945ce7',
    950: '#000000',
  },
}
SCSS
$custom: #945ce7;
$custom-light: #b88def;
$custom-dark: #000000;
JSON
{
  "hex": "#945ce7",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 264.173,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.20215,
    "h": 298.7
  },
  "luminance": 0.1972
}

Semantic roles & 50–950 ramp

primary
#945CE7
secondary
#D4E8B7
accent
#D60F86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945CE7

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

Preview Lab → · Contrast checker → · Palette generator →

#945CE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva