#945CDE#945CDE

#945CDE is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.192 H 300.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#945CDE
RGBrgb(148, 92, 222)
HSLhsl(266, 66%, 62%)
HSVhsv(266, 59%, 87%)
CMYKcmyk(33.3%, 58.6%, 0%, 12.9%)
CIE-LABlab(50.95, 48.89, -58.22)
CIE-LCHlch(50.95, 76.03, 310.02°)
OKLaboklab(59.8% 0.0975 -0.165)
OKLCHoklch(59.8% 0.192 300.6)
XYZxyz(29.2216, 19.2239, 71.2642)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945CDE #A6DE5C
analogous
#5C65DE #945CDE #D55CDE
triadic
#945CDE #DE945C #5CDE94
tetradic
#945CDE #DE5C65 #A6DE5C #5CDED5
square
#945CDE #DE5C65 #A6DE5C #5CDED5
split-complementary
#945CDE #DED55C #65DE5C
monochromatic
#57209F #732BD2 #945CDE #B58FE8 #D7C2F3

Accessibility & contrast

On white

4.33
#945CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#945CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945CDE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945CDE#FFFFFF#000000##000000
##945CDE1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1679E2
Deuteranopia (green-blind)
#3479DB
Tritanopia (blue-blind)
#857794
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #945cde;
/* rgb */ color: rgb(148, 92, 222);
/* oklch */ color: oklch(59.8% 0.192 300.6);
Tailwind
colors: {
  custom: {
    50: '#b88ce9',
    500: '#945cde',
    950: '#000000',
  },
}
SCSS
$custom: #945cde;
$custom-light: #b88ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#945cde",
  "rgb": {
    "r": 148,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 265.846,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.19165,
    "h": 300.6
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#945CDE
secondary
#CEE3B3
accent
#CE177F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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