#945DEB#945DEB

#945DEB is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.205 H 297.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#945DEB
RGBrgb(148, 93, 235)
HSLhsl(263, 78%, 64%)
HSVhsv(263, 60%, 92%)
CMYKcmyk(37%, 60.4%, 0%, 7.8%)
CIE-LABlab(51.98, 51.62, -63.89)
CIE-LCHlch(51.98, 82.14, 308.93°)
OKLaboklab(60.81% 0.0959 -0.1817)
OKLCHoklch(60.81% 0.205 297.8)
XYZxyz(31.1187, 20.1223, 80.8256)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DEB #B4EB5D
analogous
#5D6DEB #945DEB #DB5DEB
triadic
#945DEB #EB945D #5DEB94
tetradic
#945DEB #EB5D6D #B4EB5D #5DEBDB
square
#945DEB #EB5D6D #B4EB5D #5DEBDB
split-complementary
#945DEB #EBDB5D #6DEB5D
monochromatic
#5517B7 #7027E4 #945DEB #B893F2 #DCCAF8

Accessibility & contrast

On white

4.18
#945DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#945DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DEB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DEB#FFFFFF#000000##000000
##945DEB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#1F7AE8
Tritanopia (blue-blind)
#807C9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #945deb;
/* rgb */ color: rgb(148, 93, 235);
/* oklch */ color: oklch(60.8% 0.205 297.8);
Tailwind
colors: {
  custom: {
    50: '#b98df2',
    500: '#945deb',
    950: '#000000',
  },
}
SCSS
$custom: #945deb;
$custom-light: #b98df2;
$custom-dark: #000000;
JSON
{
  "hex": "#945deb",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 263.239,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.20543,
    "h": 297.8
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#945DEB
secondary
#D7EBB9
accent
#DA0B8A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #945DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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