#945EDF#945EDF

#945EDF is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.2% C 0.190 H 300.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#945EDF
RGBrgb(148, 94, 223)
HSLhsl(265, 67%, 62%)
HSVhsv(265, 58%, 87%)
CMYKcmyk(33.6%, 57.8%, 0%, 12.5%)
CIE-LABlab(51.41, 48.07, -58.03)
CIE-LCHlch(51.41, 75.36, 309.63°)
OKLaboklab(60.16% 0.0951 -0.1645)
OKLCHoklch(60.16% 0.19 300)
XYZxyz(29.5315, 19.6288, 72.0306)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945EDF #A9DF5E
analogous
#5E69DF #945EDF #D45EDF
triadic
#945EDF #DF945E #5EDF94
tetradic
#945EDF #DF5E69 #A9DF5E #5EDFD4
square
#945EDF #DF5E69 #A9DF5E #5EDFD4
split-complementary
#945EDF #DFD45E #69DF5E
monochromatic
#5720A2 #722BD5 #945EDF #B691E9 #D8C4F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##945EDF#FFFFFF#000000##000000
##945EDF1.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)
#1C7AE3
Deuteranopia (green-blind)
#367ADC
Tritanopia (blue-blind)
#847996
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #945edf;
/* rgb */ color: rgb(148, 94, 223);
/* oklch */ color: oklch(60.2% 0.190 300.0);
Tailwind
colors: {
  custom: {
    50: '#b88eea',
    500: '#945edf',
    950: '#000000',
  },
}
SCSS
$custom: #945edf;
$custom-light: #b88eea;
$custom-dark: #000000;
JSON
{
  "hex": "#945edf",
  "rgb": {
    "r": 148,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 265.116,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60156,
    "c": 0.18997,
    "h": 300
  },
  "luminance": 0.19629
}

Semantic roles & 50–950 ramp

primary
#945EDF
secondary
#D0E4B5
accent
#CF1782
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #945EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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