#943FDB#943FDB

#943FDB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.226 H 304.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#943FDB
RGBrgb(148, 63, 219)
HSLhsl(273, 68%, 55%)
HSVhsv(273, 71%, 86%)
CMYKcmyk(32.4%, 71.2%, 0%, 14.1%)
CIE-LABlab(45.59, 62.30, -65.17)
CIE-LCHlch(45.59, 90.16, 313.71°)
OKLaboklab(55.87% 0.1294 -0.1853)
OKLCHoklch(55.87% 0.226 304.9)
XYZxyz(26.7736, 14.9655, 68.4823)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943FDB #86DB3F
analogous
#463FDB #943FDB #DB3FD4
triadic
#943FDB #DB943F #3FDB94
tetradic
#943FDB #DB463F #86DB3F #3FD4DB
square
#943FDB #DB463F #86DB3F #3FD4DB
split-complementary
#943FDB #D4DB3F #3FDB46
monochromatic
#551986 #7523BA #943FDB #B173E5 #CDA6EE

Accessibility & contrast

On white

5.26
#943FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#943FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943FDB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943FDB#FFFFFF#000000##FFFFFF
##943FDB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#876489
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #943fdb;
/* rgb */ color: rgb(148, 63, 219);
/* oklch */ color: oklch(55.9% 0.226 304.9);
Tailwind
colors: {
  custom: {
    50: '#b97be7',
    500: '#943fdb',
    950: '#000000',
  },
}
SCSS
$custom: #943fdb;
$custom-light: #b97be7;
$custom-dark: #000000;
JSON
{
  "hex": "#943fdb",
  "rgb": {
    "r": 148,
    "g": 63,
    "b": 219
  },
  "hsl": {
    "h": 272.692,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55868,
    "c": 0.22606,
    "h": 304.9
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#943FDB
secondary
#B8DC9A
accent
#EB3D8C
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #943FDB

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

Preview Lab → · Contrast checker → · Palette generator →

#943FDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva