#945FDF#945FDF

#945FDF is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.189 H 299.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#945FDF
RGBrgb(148, 95, 223)
HSLhsl(265, 67%, 62%)
HSVhsv(265, 57%, 87%)
CMYKcmyk(33.6%, 57.4%, 0%, 12.5%)
CIE-LABlab(51.62, 47.53, -57.71)
CIE-LCHlch(51.62, 74.76, 309.48°)
OKLaboklab(60.31% 0.0939 -0.1635)
OKLCHoklch(60.31% 0.189 299.9)
XYZxyz(29.6210, 19.8078, 72.0605)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FDF #AADF5F
analogous
#5F6ADF #945FDF #D45FDF
triadic
#945FDF #DF945F #5FDF94
tetradic
#945FDF #DF5F6A #AADF5F #5FDFD4
square
#945FDF #DF5F6A #AADF5F #5FDFD4
split-complementary
#945FDF #DFD45F #6ADF5F
monochromatic
#5721A3 #722CD5 #945FDF #B692E9 #D8C5F3

Accessibility & contrast

On white

4.23
#945FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#945FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FDF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FDF#FFFFFF#000000##000000
##945FDF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#847996
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945fdf;
/* rgb */ color: rgb(148, 95, 223);
/* oklch */ color: oklch(60.3% 0.189 299.9);
Tailwind
colors: {
  custom: {
    50: '#b88eea',
    500: '#945fdf',
    950: '#000000',
  },
}
SCSS
$custom: #945fdf;
$custom-light: #b88eea;
$custom-dark: #000000;
JSON
{
  "hex": "#945fdf",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 264.844,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60306,
    "c": 0.18853,
    "h": 299.9
  },
  "luminance": 0.19808
}

Semantic roles & 50–950 ramp

primary
#945FDF
secondary
#D1E4B6
accent
#CF1783
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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