#702CBB#702CBB

#702CBB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.208 H 299.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#702CBB
RGBrgb(112, 44, 187)
HSLhsl(269, 62%, 45%)
HSVhsv(269, 76%, 73%)
CMYKcmyk(40.1%, 76.5%, 0%, 26.7%)
CIE-LABlab(35.66, 56.52, -62.97)
CIE-LCHlch(35.66, 84.62, 311.91°)
OKLaboklab(47.1% 0.1033 -0.18)
OKLCHoklch(47.1% 0.208 299.9)
XYZxyz(16.5502, 8.8338, 47.8372)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CBB #77BB2C
analogous
#2C30BB #702CBB #B72CBB
triadic
#702CBB #BB702C #2CBB70
tetradic
#702CBB #BB2C30 #77BB2C #2CBBB7
square
#702CBB #BB2C30 #77BB2C #2CBBB7
split-complementary
#702CBB #BBB72C #30BB2C
monochromatic
#351558 #522089 #702CBB #8F4FD6 #AE80E1

Accessibility & contrast

On white

7.59
#702CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#702CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CBB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CBB#FFFFFF#000000##FFFFFF
##702CBB1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#5E5272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702cbb;
/* rgb */ color: rgb(112, 44, 187);
/* oklch */ color: oklch(47.1% 0.208 299.9);
Tailwind
colors: {
  custom: {
    50: '#a06dd0',
    500: '#702cbb',
    950: '#000000',
  },
}
SCSS
$custom: #702cbb;
$custom-light: #a06dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#702cbb",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 268.531,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47096,
    "c": 0.20751,
    "h": 299.9
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#702CBB
secondary
#A3CA79
accent
#E54398
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #702CBB

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

Preview Lab → · Contrast checker → · Palette generator →

#702CBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva