#945CE6#945CE6

#945CE6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.201 H 298.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#945CE6
RGBrgb(148, 92, 230)
HSLhsl(264, 73%, 63%)
HSVhsv(264, 60%, 90%)
CMYKcmyk(35.7%, 60%, 0%, 9.8%)
CIE-LABlab(51.45, 50.89, -61.92)
CIE-LCHlch(51.45, 80.15, 309.41°)
OKLaboklab(60.33% 0.0973 -0.1759)
OKLCHoklch(60.33% 0.201 298.9)
XYZxyz(30.3193, 19.6630, 77.0455)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CE6 #AEE65C
analogous
#5C69E6 #945CE6 #D95CE6
triadic
#945CE6 #E6945C #5CE694
tetradic
#945CE6 #E65C69 #AEE65C #5CE6D9
square
#945CE6 #E65C69 #AEE65C #5CE6D9
split-complementary
#945CE6 #E6D95C #69E65C
monochromatic
#561BAD #7127DE #945CE6 #B791EE #DAC6F6

Accessibility & contrast

On white

4.26
#945CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#945CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CE6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CE6#FFFFFF#000000##000000
##945CE61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#2779E3
Tritanopia (blue-blind)
#827A98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945ce6;
/* rgb */ color: rgb(148, 92, 230);
/* oklch */ color: oklch(60.3% 0.201 298.9);
Tailwind
colors: {
  custom: {
    50: '#b88def',
    500: '#945ce6',
    950: '#000000',
  },
}
SCSS
$custom: #945ce6;
$custom-light: #b88def;
$custom-dark: #000000;
JSON
{
  "hex": "#945ce6",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 264.348,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.20099,
    "h": 298.9
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#945CE6
secondary
#D4E8B6
accent
#D61085
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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