#7235A2#7235A2

#7235A2 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.171 H 306.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7235A2
RGBrgb(114, 53, 162)
HSLhsl(274, 51%, 42%)
HSVhsv(274, 67%, 64%)
CMYKcmyk(29.6%, 67.3%, 0%, 36.5%)
CIE-LABlab(35.46, 46.76, -48.38)
CIE-LCHlch(35.46, 67.29, 314.02°)
OKLaboklab(46.41% 0.1017 -0.1371)
OKLCHoklch(46.41% 0.171 306.6)
XYZxyz(14.7327, 8.7324, 35.0848)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7235A2 #65A235
analogous
#3B35A2 #7235A2 #A2359C
triadic
#7235A2 #A27235 #35A272
tetradic
#7235A2 #A23B35 #65A235 #359CA2
square
#7235A2 #A23B35 #65A235 #359CA2
split-complementary
#7235A2 #9CA235 #35A23B
monochromatic
#311746 #522674 #7235A2 #914FC5 #AE7DD4

Accessibility & contrast

On white

7.65
#7235A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7235A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7235A2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7235A2#FFFFFF#000000##FFFFFF
##7235A21.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#6A4D67
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7235a2;
/* rgb */ color: rgb(114, 53, 162);
/* oklch */ color: oklch(46.4% 0.171 306.6);
Tailwind
colors: {
  custom: {
    50: '#9e71be',
    500: '#7235a2',
    950: '#000000',
  },
}
SCSS
$custom: #7235a2;
$custom-light: #9e71be;
$custom-dark: #000000;
JSON
{
  "hex": "#7235a2",
  "rgb": {
    "r": 114,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 273.578,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46411,
    "c": 0.17067,
    "h": 306.6
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#7235A2
secondary
#95BD75
accent
#DA4E8C
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7235A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7235A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva