#945DF7#945DF7

#945DF7 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.219 H 295.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#945DF7
RGBrgb(148, 93, 247)
HSLhsl(261, 91%, 67%)
HSVhsv(261, 62%, 97%)
CMYKcmyk(40.1%, 62.3%, 0%, 3.1%)
CIE-LABlab(52.77, 54.67, -69.31)
CIE-LCHlch(52.77, 88.27, 308.27°)
OKLaboklab(61.64% 0.0952 -0.1976)
OKLCHoklch(61.64% 0.219 295.7)
XYZxyz(32.9112, 20.8393, 90.2661)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945DF7 #C0F75D
analogous
#5D73F7 #945DF7 #E15DF7
triadic
#945DF7 #F7945D #5DF794
tetradic
#945DF7 #F75D73 #C0F75D #5DF7E1
square
#945DF7 #F75D73 #C0F75D #5DF7E1
split-complementary
#945DF7 #F7E15D #73F75D
monochromatic
#510ACF #6D23F4 #945DF7 #BB97FA #E1D2FD

Accessibility & contrast

On white

4.06
#945DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#945DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945DF7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945DF7#FFFFFF#000000##000000
##945DF71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#7B80A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #945df7;
/* rgb */ color: rgb(148, 93, 247);
/* oklch */ color: oklch(61.6% 0.219 295.7);
Tailwind
colors: {
  custom: {
    50: '#ba8efb',
    500: '#945df7',
    950: '#000000',
  },
}
SCSS
$custom: #945df7;
$custom-light: #ba8efb;
$custom-dark: #000000;
JSON
{
  "hex": "#945df7",
  "rgb": {
    "r": 148,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 261.429,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61641,
    "c": 0.21932,
    "h": 295.7
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#945DF7
secondary
#DFF1BF
accent
#E60094
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #945DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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